configure sudo with sudoers.d/ files

Existing users should first run tasks with tagged with `sudo` to apply
these changes, and then install the latest `/etc/sudoers` file from the
sudo package (probably already on your system as `/etc/sudoers.pacnew`).

Reversing those two steps probably prevents you from sudoing.
This commit is contained in:
Pig Monkey 2022-10-24 21:33:58 -07:00
parent 44acedd865
commit 6ea4d5b563
8 changed files with 14 additions and 23 deletions

View file

@ -3,6 +3,7 @@
become: yes
roles:
- { role: base, tags: ['base'] }
- { role: sudo, tags: ['sudo'] }
- { role: gnupg, tags: ['gnupg'] }
- { role: sysmon, tags: ['sysmon'] }
- { role: cron, tags: ['cron'] }
@ -22,6 +23,7 @@
- { role: pass, tags: ['pass'] }
- { role: iptables, tags: ['iptables'] }
- { role: nettools, tags: ['nettools'] }
- { role: openvpn, tags: ['openvpn'] }
- { role: nmtrust, tags: ['nmtrust'] }
- { role: unbound, tags: ['unbound'] }
- { role: openresolv, tags: ['openresolv'] }