dfgdf
This commit is contained in:
parent
066a72924f
commit
7d507da49a
1 changed files with 1 additions and 1 deletions
|
@ -62,5 +62,5 @@
|
||||||
path: "/etc/sudoers.d/users-sudo-{{ item.username }}"
|
path: "/etc/sudoers.d/users-sudo-{{ item.username }}"
|
||||||
state: "{{ item.state | default('present') }}"
|
state: "{{ item.state | default('present') }}"
|
||||||
loop: '{{ users }}'
|
loop: '{{ users }}'
|
||||||
when: (item.allow_sudo|default(false) and item.allow_sudo is defined) and (item.state == absent)
|
when: (item.allow_sudo|default(false) and item.allow_sudo is defined) and (item.state is absent)
|
||||||
# no_log: true
|
# no_log: true
|
||||||
|
|
Loading…
Reference in a new issue