Skip to content

Commit

Permalink
Fixed conditional to allow for variables in arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
a-fro committed Oct 28, 2014
1 parent 4c90e50 commit c46cb58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/ssh.yml
Expand Up @@ -19,7 +19,7 @@
state=present state=present
validate='visudo -cf %s' validate='visudo -cf %s'
with_items: security_sudoers_passwordless with_items: security_sudoers_passwordless
when: security_sudoers_passwordless when: security_sudoers_passwordless > 0


- name: Add configured user accounts to passworded sudoers. - name: Add configured user accounts to passworded sudoers.
lineinfile: > lineinfile: >
Expand All @@ -29,4 +29,4 @@
state=present state=present
validate='visudo -cf %s' validate='visudo -cf %s'
with_items: security_sudoers_passworded with_items: security_sudoers_passworded
when: security_sudoers_passworded when: security_sudoers_passworded > 0

0 comments on commit c46cb58

Please sign in to comment.