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