# vim: set filetype=yaml.ansible : --- - name: Append to pkg_sys when: - ansible_system == 'Linux' notify: - Depend hashicorp repo changed_when: true ansible.builtin.set_fact: pkg_sys: "{{ pkg_sys + consul.pkgs }}" - name: Append to pkg_tap when: - ansible_system == 'Darwin' notify: - Depend hashicorp repo changed_when: true ansible.builtin.set_fact: pkg_tap: "{{ pkg_tap + consul.pkgs }}"