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.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user