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