Files
ansible_role_package/tasks/pkgs/go.yml
2025-02-12 16:57:28 -07:00

14 lines
298 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Install from archive
when:
- prefer_archive
ansible.builtin.set_fact:
archive_pkgs: "{{ archive_pkgs + ['go'] }}"
- name: Append to pkgs
when:
- not prefer_archive
ansible.builtin.set_fact:
sys_pkgs: "{{ src_pkgs + ['go'] }}"