more fixs for packages

This commit is contained in:
Matthew Stobbs
2025-02-20 15:03:54 -07:00
parent c0400949c3
commit 41b1acc067
34 changed files with 181 additions and 201 deletions

View File

@@ -1,16 +1,13 @@
# vim: set filetype=yaml.ansible :
# 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
- name: Append to pkg_sys
when:
- ansible_system == 'Linux'
ansible.builtin.set_fact:
syspkgs: "{{ syspkgs + [ pkgconfig.consul[ansible_system] ] }}"
when: ansible_system == 'Linux'
pkg_sys: "{{ pkg_sys + consul.pkgs }}"
- ansible.builtin.set_fact:
tappkgs: "{{ tappkgs + [ pkgconfig.consul[ansible_system] ] }}"
when: ansible_system == 'Darwin'
- name: Append to pkg_tap
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:
pkg_tap: "{{ pkg_tap + consul.pkgs }}"