1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-24 20:41:31 +01:00

ansible: cleanup aur installs

This commit is contained in:
bretello 2024-08-13 01:13:39 +02:00
parent b17db97c4c
commit a2ec68b0d0
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
2 changed files with 4 additions and 2 deletions

View File

@ -11,6 +11,7 @@
dest: "/home/build/{{ package }}"
# version: master
clone: true
update: true
force: true
- name: Build package

View File

@ -2,12 +2,13 @@
- hosts: all
vars:
archlinux: ansible_facts['os_family'] == "Archlinux"
archlinux: '{{ ansible_facts["os_family"] == "Archlinux" }}'
roles:
- dotfiles
- {
name: "install aur packages",
role: aur_packages,
when: archlinux | bool,
when: archlinux is true,
tags: ["aur", "aur-packages"],
}