Added users role to manage the playbook as root and remove admin privileges from deck

This commit is contained in:
2026-10-13 12:49:13 +02:00
parent 80a79fcc99
commit d00d99ce45
18 changed files with 153 additions and 42 deletions
-2
View File
@@ -1,6 +1,5 @@
# community.general.pacman ignores the repo/pkg syntax, so call pacman.
- name: Install the patched Mesa stack
become: true
ansible.builtin.command:
argv: "{{ ['pacman', '-S', '--noconfirm'] + (mesa_stack | map('regex_replace', '^', 'bc250-cachyos/') | list) }}"
register: mesa_install
@@ -20,7 +19,6 @@
# Pin last: IgnorePkg outranks the repo/pkg syntax, so writing it before
# the install would make pacman prompt instead of proceeding.
- name: Pin the Mesa stack against upstream upgrades
become: true
ansible.builtin.lineinfile:
path: /etc/pacman.conf
regexp: '^IgnorePkg\s*='