diff --git a/tasks/users.yml b/tasks/users.yml index 09e1ff3..099751c 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -10,7 +10,7 @@ become: true - name: Copy local ssh key to authorized keys file - authorized_key: + ansible.posix.authorized_key: user: "{{ os_user.name }}" key: "{{ item }}" loop: "{{ os_user.ssh_auth_keys }}"