Add google cloud sdk role.

This commit is contained in:
Tom Alexander
2022-12-02 00:22:49 -05:00
parent d2b6c627ae
commit cae5ecdfd2
10 changed files with 91 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
- 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:
- google-cloud-sdk
- name: Update cache
when: buildaur.changed
pacman:
name: []
state: present
update_cache: true
- name: Install packages
package:
name:
- google-cloud-sdk
state: present