diff --git a/tasks/prelim.yml b/tasks/prelim.yml index 13afd85..5bb81f0 100644 --- a/tasks/prelim.yml +++ b/tasks/prelim.yml @@ -63,6 +63,7 @@ - name: "PRELIM | Gather accounts with empty password fields" ansible.builtin.shell: "cat /etc/shadow | awk -F: '($2 == \"\" ) {j++;print $1; } END {exit j}'" changed_when: false + failed_when: false check_mode: false register: empty_password_accounts tags: