diff options
author | binary <me@rgoncalves.se> | 2021-03-11 20:32:42 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-03-11 20:32:42 +0100 |
commit | 69a58920c4e692e44c62422c406a6a690248fe27 (patch) | |
tree | f8362bfe532bd7b612ccc02efa2160beaccfecc9 /roles/sshd | |
parent | cdf2b4afd31b10df695985d7bdd3a587534feb92 (diff) | |
download | infrastructure-69a58920c4e692e44c62422c406a6a690248fe27.tar.gz |
Fail free all-host-basic playbook.
Diffstat (limited to 'roles/sshd')
-rw-r--r-- | roles/sshd/tasks/main.yml | 2 |
1 files changed, 2 insertions, 0 deletions
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 }}" |