1
0
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:
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 }}" dest: "/home/build/{{ package }}"
# version: master # version: master
clone: true clone: true
update: true
force: true force: true
- name: Build package - name: Build package

View File

@ -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"],
} }