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