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