core: Fix ansible errors

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2023-02-27 17:12:08 +01:00
parent 9089ffbc9a
commit 80c52199ef
7 changed files with 3 additions and 17 deletions

View File

@@ -9,7 +9,7 @@
---
- name: Install or update openssh
apt:
package:
name: "{{ openssh_package }}"
state: latest
notify:

View File

@@ -24,7 +24,7 @@
- name: Add ansible user to sudoers
copy:
src: files/ansible_sudoers
src: ansible/ansible_sudoers
dest: /etc/sudoers.d/ansible
owner: root
group: root

View File

@@ -24,7 +24,7 @@
- name: Add user to sudoers
copy:
src: files/noahk_sudoers
src: noahk/noahk_sudoers
dest: /etc/sudoers.d/noahk
owner: root
group: root

View File

@@ -26,7 +26,6 @@ IgnoreRhosts yes
# Misc. options
AcceptEnv LANG LC_*
TCPKeepAlive yes
Subsystem sftp {{ sftp_path }}
# Logging
SyslogFacility AUTH

View File

@@ -1,13 +0,0 @@
#===================================================================================================
# ? ABOUT
# @author : Noah Knegt
# @email : personal@noahknegt.com
# @repo : https://git.noahknegt.com/noah.knegt/ansible-automations
# @createdOn : 27-02-2023
# @description : This file contains all the variables for the base role, for the ubuntu OS.
#===================================================================================================
---
sudo_group: sudo
openssh_service: ssh
openssh_package: openssh-server