Fix new ansible-lint errors

Quite a few changes here, hopefully they work!
This commit is contained in:
Jake Howard
2023-06-15 15:16:19 +01:00
parent 2a0d40aca9
commit 2af9f8529d
27 changed files with 52 additions and 47 deletions

View File

@ -21,13 +21,13 @@
dest: /etc/ssh/sshd_config
validate: /usr/sbin/sshd -t -f %s
backup: true
mode: 0644
mode: "644"
become: true
register: sshd_config
- name: Set up authorized keys
ansible.posix.authorized_key:
user: "{{ user }}"
user: "{{ me.user }}"
state: present
key: "{{ lookup('file', item) }}"
loop: