Archived
1
0
Fork 0
This repository has been archived on 2024-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/sysconfig_arch/workstation_aur.yaml

36 lines
805 B
YAML
Raw Normal View History

2020-12-24 01:52:20 +01:00
- name: "Install AUR helper and packages"
hosts: localhost
connection: local
tasks:
- name: Create build user
user:
name: aur_builder
group: wheel
create_home: no
home: /tmp
- name: Install build tools
package:
2021-02-22 21:11:29 +01:00
name:
- base-devel
2020-12-24 01:52:20 +01:00
state: present
update_cache: True
- name: "Gather package facts"
package_facts:
manager: "auto"
- name: Install PIKAUR
when: "'pikaur' not in ansible_facts['packages']"
become: yes
become_user: aur_builder
script: ./lib/installFromAur.sh pikaur
- name: Install ansible-aur-git
when: "'ansible-aur-git' not in ansible_facts['packages']"
become: yes
become_user: aur_builder
script: ./lib/installFromAur.sh ansible-aur-git