Added sudoers config

This commit is contained in:
2026-04-03 10:50:31 -04:00
parent 0e6692143e
commit 2eb66b07be
4 changed files with 20 additions and 0 deletions

View File

@@ -23,3 +23,12 @@ ntp_servers:
ntp_restrict:
- '127.0.0.1'
- '::1'
sudoers_sudoers:
privileges:
- name: root
entry: 'ALL=(ALL:ALL) ALL'
- name: '%admin'
entry: 'ALL=(ALL) ALL'
- name: '%sudo'
entry: 'ALL=NOPASSWD:ALL'

8
playbooks/auth.yml Normal file
View File

@@ -0,0 +1,8 @@
---
- name: Configure sudoers
hosts: all
become: True
roles:
- arillso.sudoers

View File

@@ -1,6 +1,7 @@
---
- import_playbook: ntp.yml
- import_playbook: auth.yml
- import_playbook: packages.yml
- import_playbook: gitea.yml
- import_playbook: dev.yml

View File

@@ -3,6 +3,8 @@ collections:
- name: community.general
roles:
- src: arillso.sudoers
version: 2.3.0
- src: geerlingguy.git
version: 3.0.1
- src: geerlingguy.nginx