Files
ansible_role_package/tasks/pkgs/consul.yml
Matthew Stobbs 0f2d22f3c5 packages are more generic
- if config is needed, it has a file in vars/
- all imported vars for pkgs are namespaced with _<pkgname>
2025-01-23 00:29:58 -07:00

13 lines
304 B
YAML

---
- ansible.builtin.include_vars:
file: hashicorp_repo.yml
name: _hashicorp
- name: ensure hashicorp repo is active
ansible.builtin.include_tasks:
file: "pkgs/hashicorp_repo.yml"
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + [ _hashicorp.consul[ansible_os_family] ] }}"