adding Alpine specific installations

This commit is contained in:
Matthew Stobbs
2025-03-10 14:53:36 -06:00
parent aff4fddfb4
commit 51d97dd18f
32 changed files with 178 additions and 38 deletions

View File

@@ -17,12 +17,19 @@
- name: Append packer to pkg_sys
when:
- ansible_system == 'Linux'
- ansible_os_family != 'Alpine'
notify:
- Depend hashicorp repo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + packer.pkgs }}"
- name: Append packer to pkg_archive
when:
- ansible_os_family == 'Alpine'
ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + ['packer'] }}"
- name: Set packer_configured
ansible.builtin.set_fact:
packer_configured: true