aboutsummaryrefslogtreecommitdiffstats
path: root/roles/sshd/tasks/synchronize_keys.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/sshd/tasks/synchronize_keys.yml')
-rw-r--r--roles/sshd/tasks/synchronize_keys.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/sshd/tasks/synchronize_keys.yml b/roles/sshd/tasks/synchronize_keys.yml
index 722fdfa..16c437c 100644
--- a/roles/sshd/tasks/synchronize_keys.yml
+++ b/roles/sshd/tasks/synchronize_keys.yml
@@ -1,5 +1,5 @@
- name: get ssh keys for all users
- find:
+ ansible.builtin.find:
paths: files/keys
file_type: link
recurse: true
@@ -8,7 +8,7 @@
register: result
- name: synchronize ssh keys
- authorized_key:
+ ansible.posix.authorized_key:
user: "{{ item.path | dirname | basename }}"
state: present
key: "{{ lookup('file', item.path) }}"
remember that computers suck.