mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
ansible: cleanup aur installs
This commit is contained in:
parent
b17db97c4c
commit
a2ec68b0d0
|
@ -11,6 +11,7 @@
|
||||||
dest: "/home/build/{{ package }}"
|
dest: "/home/build/{{ package }}"
|
||||||
# version: master
|
# version: master
|
||||||
clone: true
|
clone: true
|
||||||
|
update: true
|
||||||
force: true
|
force: true
|
||||||
|
|
||||||
- name: Build package
|
- name: Build package
|
||||||
|
|
|
@ -2,12 +2,13 @@
|
||||||
- hosts: all
|
- hosts: all
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
archlinux: ansible_facts['os_family'] == "Archlinux"
|
archlinux: '{{ ansible_facts["os_family"] == "Archlinux" }}'
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- dotfiles
|
- dotfiles
|
||||||
- {
|
- {
|
||||||
|
name: "install aur packages",
|
||||||
role: aur_packages,
|
role: aur_packages,
|
||||||
when: archlinux | bool,
|
when: archlinux is true,
|
||||||
tags: ["aur", "aur-packages"],
|
tags: ["aur", "aur-packages"],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user