pikaur
This commit is contained in:
parent
26abd5af81
commit
b8fb28d748
@ -7,4 +7,6 @@
|
|||||||
roles:
|
roles:
|
||||||
- python
|
- python
|
||||||
- sshd
|
- sshd
|
||||||
- firewall
|
- firewall
|
||||||
|
- pikaur
|
||||||
|
#- zfs
|
29
ansible/roles/pikaur/tasks/main.yml
Normal file
29
ansible/roles/pikaur/tasks/main.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
- name: create git parent dir
|
||||||
|
become: true
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /git
|
||||||
|
state: directory
|
||||||
|
owner: "{{ ansible_user }}"
|
||||||
|
group: "{{ ansible_user }}"
|
||||||
|
mode: 0775
|
||||||
|
|
||||||
|
- name: install pikaur prereqs
|
||||||
|
become: true
|
||||||
|
community.general.pacman:
|
||||||
|
name:
|
||||||
|
- base-devel
|
||||||
|
- git
|
||||||
|
state: latest
|
||||||
|
update_cache: true
|
||||||
|
reason: explicit
|
||||||
|
|
||||||
|
- name: clone git repo
|
||||||
|
ansible.builtin.git:
|
||||||
|
repo: 'https://aur.archlinux.org/pikaur.git'
|
||||||
|
dest: /git/pikaur
|
||||||
|
depth: 1
|
||||||
|
single_branch: yes
|
||||||
|
|
||||||
|
- name: make
|
||||||
|
|
Loading…
Reference in New Issue
Block a user