From 69a58920c4e692e44c62422c406a6a690248fe27 Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 11 Mar 2021 20:32:42 +0100 Subject: Fail free all-host-basic playbook. --- roles/sshd/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/sshd') diff --git a/roles/sshd/tasks/main.yml b/roles/sshd/tasks/main.yml index da5100e..4321270 100644 --- a/roles/sshd/tasks/main.yml +++ b/roles/sshd/tasks/main.yml @@ -15,6 +15,7 @@ - name: retrieve all existing users shell: cut -d ":" -f 1 /etc/passwd register: sshd_users + change_when: false - name: bind retrieved users output lines to list set_fact: @@ -53,6 +54,7 @@ register: sshd_homedirs when: item.path | dirname | basename in sshd_users loop: "{{ keys.files }}" + change_when: false loop_control: label: "{{ item.path | dirname | basename }}" -- cgit v1.2.3