notes
This commit is contained in:
@ -14,23 +14,37 @@
|
||||
name:
|
||||
- base-devel
|
||||
- git
|
||||
- pyalpm
|
||||
- python-docutils
|
||||
- python-future
|
||||
- python-commonmark
|
||||
state: latest
|
||||
update_cache: true
|
||||
reason: explicit
|
||||
|
||||
- name: clone git repo
|
||||
become: false
|
||||
ansible.builtin.git:
|
||||
repo: 'https://aur.archlinux.org/pikaur.git'
|
||||
dest: /git/pikaur
|
||||
depth: 1
|
||||
single_branch: yes
|
||||
|
||||
- name: make/install pikaur
|
||||
- name: make pikaur package
|
||||
become: false
|
||||
ansible.builtin.shell:
|
||||
cmd: makepkg -fsri
|
||||
cmd: makepkg
|
||||
chdir: /git/pikaur/
|
||||
creates: pikaur-1.11-1-any.pkg.tar.zst
|
||||
|
||||
- name: install built pikaur package
|
||||
become: true
|
||||
community.general.pacman:
|
||||
name: /git/pikaur/pikaur-1.11-1-any.pkg.tar.zst
|
||||
state: present
|
||||
|
||||
- name: update AUR cache
|
||||
become: true
|
||||
community.general.pacman:
|
||||
update_cache: yes
|
||||
executable: pikaur
|
||||
|
Reference in New Issue
Block a user