diff --git a/linux/os/create_user_ssh/check_and _add_authorized_key.yml b/linux/os/create_user_ssh/check_and _add_authorized_key.yml index cfdc6ad..08f5159 100644 --- a/linux/os/create_user_ssh/check_and _add_authorized_key.yml +++ b/linux/os/create_user_ssh/check_and _add_authorized_key.yml @@ -29,4 +29,4 @@ key: "{{ key_to_add }}" state: present manage_dir: yes - when: "Authorized key exists: False" + when: authorized_key_exists == "False"