diff --git a/playbook.yml b/playbook.yml index 3974e80..ef67c5d 100644 --- a/playbook.yml +++ b/playbook.yml @@ -15,4 +15,4 @@ - vars/testing.yml roles: - users - - basic_packages \ No newline at end of file + - basic_packages diff --git a/roles/basic_packages/tasks/main.yml b/roles/basic_packages/tasks/main.yml index 1bd84c6..7e7d4ac 100644 --- a/roles/basic_packages/tasks/main.yml +++ b/roles/basic_packages/tasks/main.yml @@ -24,4 +24,4 @@ hour: "3" user: root job: "/usr/sbin/rear mkbackup > /dev/null" - cron_file: rear_backup_full \ No newline at end of file + cron_file: rear_backup_full diff --git a/roles/users/tasks/main.yml b/roles/users/tasks/main.yml index a4579c9..1575ffb 100644 --- a/roles/users/tasks/main.yml +++ b/roles/users/tasks/main.yml @@ -26,22 +26,22 @@ name: lea shell: /bin/bash groups: admins - append: yes + append: true - name: Ensure user "beat" exists ansible.builtin.user: name: beat shell: /bin/bash groups: admins - append: yes + append: true - name: Ensure user "rulrich" exists ansible.builtin.user: name: rulrich shell: /bin/bash groups: admins - append: yes - + append: true + - name: Set up authorized keys for user lea ansible.posix.authorized_key: user: lea @@ -65,4 +65,3 @@ key: '{{ item }}' with_file: - public_keys/rulrich -