sudo: allow to impersonate users

main
Ricard Illa 2022-09-21 17:43:21 +02:00
parent f266ceb3d6
commit 557ea36b0e
1 changed files with 5 additions and 5 deletions

View File

@ -5,8 +5,8 @@
when: ansible_distribution in ["Debian", "Ubuntu"]
- name: allow wheel sudo without password
community.general.sudoers:
commands: ALL
group: wheel
name: wheel
nopassword: true
copy:
dest: /etc/sudoers.d/wheel
content: "%wheel ALL=(ALL) NOPASSWD: ALL"
mode: '0440'
owner: root