separate configuration, requirements and variables

This commit is contained in:
Matthew Stobbs
2025-02-09 15:50:59 -07:00
parent fc674fe06f
commit 80af799c47
75 changed files with 501 additions and 579 deletions

View File

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