packages are more generic

- if config is needed, it has a file in vars/
- all imported vars for pkgs are namespaced with _<pkgname>
This commit is contained in:
Matthew Stobbs
2025-01-23 00:29:58 -07:00
parent 6fa5a46701
commit 0f2d22f3c5
76 changed files with 277 additions and 594 deletions

View File

@@ -1,7 +1,7 @@
---
- ansible.builtin.include_vars:
file: consul.yml
name: _consul
file: hashicorp_repo.yml
name: _hashicorp
- name: ensure hashicorp repo is active
ansible.builtin.include_tasks:
@@ -9,5 +9,4 @@
- name: append to pkgs
set_fact:
syspkgs: "{{ syspkgs + [ _consul[ansible_os_family].pkg ] }}"
syspkgs: "{{ syspkgs + [ _hashicorp.consul[ansible_os_family] ] }}"