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"] 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