revert parts of "506fa8da8d" (explanation inline) #217
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
name: "users-sudo-{{ item.username }}"
|
name: "users-sudo-{{ item.username }}"
|
||||||
state: "{{ item.state | default('present') }}"
|
state: "{{ item.state | default('present') }}"
|
||||||
user: "{{ item.username }}"
|
user: "{{ item.username }}"
|
||||||
commands: ALL=(ALL)
|
commands: "ALL=(ALL)"
|
||||||
nopassword: "{{ item.allow_passwordless_sudo }}"
|
nopassword: "{{ item.allow_passwordless_sudo }}"
|
||||||
loop: '{{ users }}'
|
loop: '{{ users }}'
|
||||||
when: item.allow_sudo|default(false) and item.allow_sudo is defined
|
when: item.allow_sudo|default(false) and item.allow_sudo is defined
|
||||||
|
|
Loading…
Reference in a new issue