df
This commit is contained in:
parent
65c7739f71
commit
e1fce955e4
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
|
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