2022-12-02 04:38:21 +00:00
|
|
|
- name: Build aur packages
|
|
|
|
register: buildaur
|
|
|
|
become_user: "{{ build_user.name }}"
|
|
|
|
command: "aurutils-sync --no-view {{ item }}"
|
|
|
|
args:
|
|
|
|
creates: "/var/cache/pacman/custom/{{ item }}-*.pkg.tar.*"
|
|
|
|
loop:
|
|
|
|
- kubeswitch
|
2023-06-17 23:12:30 +00:00
|
|
|
- flux-scm
|
2022-12-02 04:38:21 +00:00
|
|
|
|
|
|
|
- name: Update cache
|
|
|
|
when: buildaur.changed
|
|
|
|
pacman:
|
|
|
|
name: []
|
|
|
|
state: present
|
|
|
|
update_cache: true
|
2023-06-17 23:12:30 +00:00
|
|
|
|
2022-12-02 04:38:21 +00:00
|
|
|
- name: Install packages
|
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- yamllint
|
|
|
|
- stern
|
|
|
|
- kubectx
|
|
|
|
- kubeswitch
|
2023-06-17 23:12:30 +00:00
|
|
|
- flux-scm
|
2022-12-02 04:38:21 +00:00
|
|
|
state: present
|