New way to install packages!
Probably the fourth I ever created? Will this one last? I don't know! Doesn't have pip support for now, but probably something requirements.txt based will be a bit more proper
This commit is contained in:
parent
ccc330d795
commit
59aaf63d4a
5 changed files with 108 additions and 77 deletions
16
config/automatrop/roles/software/handlers/main.yml
Normal file
16
config/automatrop/roles/software/handlers/main.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
- 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"
|
||||
when: arch_based
|
Loading…
Add table
Add a link
Reference in a new issue