Add become to all become_user tasks.

This commit is contained in:
me
2026-10-02 07:58:58 -07:00
parent f808eb7ecb
commit ff548cc7a2
10 changed files with 46 additions and 10 deletions
+3 -3
View File
@@ -26,7 +26,7 @@
line: "{{ aur_user }} ALL=(ALL) NOPASSWD: /usr/bin/pacman"
create: true
mode: '0440'
validate: 'visudo -cf %s'
validate: 'visudo -cf %s'
- name: General | Software | AUR | Check
command: "which {{ aur_helper }}"
@@ -47,8 +47,8 @@
- name: General | Software | AUR | Install | Build & Integrate
shell: "cd {{ aur_helper_dir }} && makepkg -si --noconfirm"
become: true
become_user: "{{ aur_user }}"
changed_when: true
changed_when: true
when: yay_check.rc != 0