# 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'] }}"