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 7c22b770f0
commit 643add64cf

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.