1 Commits

Author SHA1 Message Date
3390c5e85e refactor(role): Do chmod later
Looks like 'paru -Ly' will set perms on '/var/cache/aur/pkg' so our
earlier 'chmod 0777' gets reverted. We move 'chmod 0777' down the
list after 'paru -Ly' so perms stick.
2026-01-18 23:05:38 +01:00

View File

@@ -101,11 +101,6 @@
find ''/var/cache/aur/pkg.bak'' -type d -empty -delete
removes: '/var/cache/aur/pkg.bak'
- name: 'If Arch Linux set global write perms (0777) on AUR package cache dir ''/var/cache/aur/pkg'''
ansible.builtin.file:
path: '/var/cache/aur/pkg'
mode: '0777'
- name: 'If Arch Linux copy local AUR repo config file'
ansible.builtin.copy:
src: 'etc/pacman.d/repo-local-aur.conf'
@@ -148,6 +143,11 @@
cmd: |
paru -Ly
- name: 'If Arch Linux set global write perms (0777) on AUR package cache dir ''/var/cache/aur/pkg'''
ansible.builtin.file:
path: '/var/cache/aur/pkg'
mode: '0777'
- name: 'If Arch Linux remove package ''paru-bin-debug'''
ansible.builtin.package:
name: 'paru-bin-debug'