From 647cab6ea2d9d8aa57cdd9936a11bd8bb3ec52aa Mon Sep 17 00:00:00 2001 From: davidl Date: Tue, 29 Aug 2023 12:52:35 +0200 Subject: [PATCH] a --- linux/os/create_user_ssh/check_and _add_authorized_key.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"