Configuration role refactor and network template

This commit is contained in:
2025-12-26 20:38:42 +01:00
parent 732784fa2d
commit efad1b9a67
11 changed files with 498 additions and 330 deletions

View File

@@ -0,0 +1,7 @@
---
- name: Give sudo access to wheel group
ansible.builtin.copy:
content: "{{ '%sudo ALL=(ALL) ALL' if is_debian | default(false) else '%wheel ALL=(ALL) ALL' }}"
dest: /mnt/etc/sudoers.d/01-wheel
mode: "0440"
validate: /usr/sbin/visudo --check --file=%s