machine_setup/ansible/roles/google_cloud_sdk/tasks/linux.yaml

22 lines
444 B
YAML
Raw Normal View History

2022-12-02 05:22:49 +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:
- 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