# load hashicorp configuration --- - name: ensure hashicorp repo is active ansible.builtin.include_tasks: file: "pkgs/hashicorp_repo.yml" when: pkgconfig_hashicorp not defined - 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'