Moving all files to basedir
This commit is contained in:
14
aur_rebuild.yml
Normal file
14
aur_rebuild.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- name: Get list of AUR Python packages that need to be rebuilt
|
||||
ansible.builtin.shell:
|
||||
cmd:
|
||||
comm -12 <(pactree -lrud1 {{ package_pattern }} | sort -u) <(pacman -Qqm | sort -u)
|
||||
register: aur_packages
|
||||
- name: Rebuild AUR Python packages
|
||||
aur:
|
||||
use: pikaur
|
||||
name: '{{ item }}'
|
||||
aur_only: true
|
||||
extra_args: --rebuild
|
||||
loop: '{{ aur_packages.stdout.split() }}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user