fix(configuration): correct fstab regexp escaping, sudoers newline, locales block scope

This commit is contained in:
2026-02-13 00:02:54 +01:00
parent bc43b3b994
commit af5eecfc01
3 changed files with 14 additions and 14 deletions

View File

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