more package fixes

This commit is contained in:
Matthew Stobbs
2025-02-21 22:59:24 -07:00
parent 4b995a3c07
commit 852fe8eb7d
71 changed files with 403 additions and 440 deletions

View File

@@ -1,10 +1,15 @@
# 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
- name: Append to pkg_tap
when:
- ansible_system == 'Darwin'
ansible.builtin.set_fact:
tappkgs: "{{ tappkgs + [ pkgconfig.packer[ansible_system] ] }}"
pkg_tap: "{{ pkg_tap + [pkgconfig.packer[ansible_system]] }}"
- name: Append to pkg_sys
when:
- ansible_system == 'Linux'
notify:
- Depend hashicorp repo
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['packer'] }}"