2021-06-12 17:15:21 +02:00
|
|
|
- name: Create and install meta package for Arch Linux
|
|
|
|
block:
|
|
|
|
- name: Generate meta package PKGBUILD
|
|
|
|
template:
|
|
|
|
src: PKGBUILD.j2
|
|
|
|
dest: "{{ ansible_user_dir }}/.cache/automatrop/PKGBUILD"
|
|
|
|
listen: "software changed"
|
|
|
|
|
|
|
|
- name: Install meta package
|
|
|
|
aur:
|
|
|
|
name: "automatrop-packages-{{ inventory_hostname_short }}"
|
|
|
|
local_pkgbuild: "{{ ansible_user_dir }}/.cache/automatrop"
|
|
|
|
use: makepkg
|
|
|
|
state: latest
|
|
|
|
listen: "software changed"
|
2021-06-13 14:45:20 +02:00
|
|
|
when: root_access
|
2021-06-12 17:15:21 +02:00
|
|
|
when: arch_based
|