# load hashicorp configuration --- - name: ensure hashicorp repo is active ansible.builtin.include_tasks: file: "pkgs/hashicorp_repo.yml" - name: append to syspkgs set_fact: syspkgs: "{{ syspkgs + [ pkgconfig.hashicorp.consul[ansible_system] ] }}" when: ansible_system == 'Linux' - set_fact: tappkgs: "{{ tappkgs + [ pkgconfig.hashicorp.consul[ansible_system] ] }}" when: ansible_system == 'Darwin'