dfg
This commit is contained in:
parent
47ed42905a
commit
eecf4f5448
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