--- - name: ensure hashicorp repo is active ansible.builtin.include_tasks: file: "pkgs/hashicorp_repo.yml" when: pkgconfig_hashicorp not defined - name: append to pkgs ansible.builtin.set_fact: tappkgs: "{{ tappkgs + [ pkgconfig.hashicorp.nomad[ansible_system] ] }}"