Add the kubernetes role.

This commit is contained in:
Tom Alexander
2022-12-01 23:38:21 -05:00
parent 3637dcdfcc
commit 80083ff0cc
18 changed files with 202 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
- 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
- name: Update cache
when: buildaur.changed
pacman:
name: []
state: present
update_cache: true
- name: Install packages
package:
name:
- yamllint
- stern
- kubectx
- kubeswitch
state: present