diff --git a/create_user_ssh/check_authorizzed_key.yml b/create_user_ssh/check_authorizzed_key.yml index 8ae2755..c3410a7 100644 --- a/create_user_ssh/check_authorizzed_key.yml +++ b/create_user_ssh/check_authorizzed_key.yml @@ -25,5 +25,5 @@ authorized_key: user: root # Replace with the remote user's name state: present - key: "{{ public_key_to_add }}" + key: "{{ key_to_add }}" when: not authorized_key_exists \ No newline at end of file