sudo: allow to impersonate users
parent
f266ceb3d6
commit
557ea36b0e
|
@ -5,8 +5,8 @@
|
||||||
when: ansible_distribution in ["Debian", "Ubuntu"]
|
when: ansible_distribution in ["Debian", "Ubuntu"]
|
||||||
|
|
||||||
- name: allow wheel sudo without password
|
- name: allow wheel sudo without password
|
||||||
community.general.sudoers:
|
copy:
|
||||||
commands: ALL
|
dest: /etc/sudoers.d/wheel
|
||||||
group: wheel
|
content: "%wheel ALL=(ALL) NOPASSWD: ALL"
|
||||||
name: wheel
|
mode: '0440'
|
||||||
nopassword: true
|
owner: root
|
||||||
|
|
Loading…
Reference in New Issue