fix remaining packages to new format

- still needs testing
This commit is contained in:
Matthew Stobbs
2025-02-22 10:51:53 -07:00
parent 852fe8eb7d
commit 2d825d855d
33 changed files with 200 additions and 221 deletions

View File

@@ -1,10 +1,17 @@
# vim: set filetype=yaml.ansible :
---
- name: ensure hashicorp repo is active
ansible.builtin.include_tasks:
file: "pkgs/hashicorp_repo.yml"
when: hashicorp is undefined
- name: Append to pkgs
notify:
- Depend hashicorp repo
block:
- name: MacOS specific
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:
pkg_taps: "{{ pkg_taps + [pkgconfig.vault[ansible_system]] }}"
- name: append to pkgs
ansible.builtin.set_fact:
tappkgs: "{{ tappkgs + [ pkgconfig.vault[ansible_system] ] }}"
- name: Linux specific
when:
- ansible_system == 'Linux'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['vault'] }}"