Files
ansible_role_package/tasks/pkgs/go.yml
Matthew Stobbs ceabce67e4 removed bool check
Signed-off-by: Matthew Stobbs <matthew.stobbs@ucalgary.ca>
2025-05-12 14:24:27 -06:00

17 lines
386 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Load go config
ansible.builtin.include_tasks:
file: config/go.yml
- name: Append go to pkg_archive
when:
- go.method == 'archive'
ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + ['go'] }}"
- name: Append to pkg_sys
- go.method != 'archive'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['go'] }}"