Removed mode parameter as it should be automatically handled by the module

This commit is contained in:
2025-08-24 13:11:49 +02:00
parent ddf5986274
commit 22f0ba3fd2

View File

@@ -23,7 +23,6 @@
key: "{{ item }}"
state: present
path: /home/{{ target_user }}/.ssh/authorized_keys
mode: '0600'
loop: "{{ my_public_keys }}"
# ansible.posix.authorized_key will create an .ssh directory with the correct permissions.