Skip to content

Commit

Permalink
Changed_when to false
Browse files Browse the repository at this point in the history
  • Loading branch information
namoyer10 authored Jul 17, 2024
1 parent ed2814b commit 97b87d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
command: >
awk -F: '!$2 {print $1}' /etc/shadow
register: users_nopasswd
changed_when: users_nopasswd.stdout_lines | length > 0
changed_when: false

- name: Lock users with no password
command: >
Expand Down

0 comments on commit 97b87d5

Please sign in to comment.