Permalink
Browse files

Fixed conditional to allow for variables in arrays

  • Loading branch information...
a-fro committed Oct 28, 2014
1 parent 4c90e50 commit c46cb58de6f244cc22300e3c1473e3f8af407865
Showing with 2 additions and 2 deletions.
  1. +2 −2 tasks/ssh.yml
View
@@ -19,7 +19,7 @@
state=present
validate='visudo -cf %s'
with_items: security_sudoers_passwordless
when: security_sudoers_passwordless
when: security_sudoers_passwordless > 0
- name: Add configured user accounts to passworded sudoers.
lineinfile: >
@@ -29,4 +29,4 @@
state=present
validate='visudo -cf %s'
with_items: security_sudoers_passworded
when: security_sudoers_passworded
when: security_sudoers_passworded > 0

0 comments on commit c46cb58

Please sign in to comment.