fix packer package definition
This commit is contained in:
@@ -10,14 +10,13 @@
|
||||
|
||||
- name: Append packer to pkg_tap
|
||||
when:
|
||||
- ansible_system == 'Darwin'
|
||||
- packer.method == 'tap'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_tap: "{{ pkg_tap + packer.pkgs }}"
|
||||
|
||||
- name: Append packer to pkg_sys
|
||||
when:
|
||||
- ansible_system == 'Linux'
|
||||
- ansible_os_family != 'Alpine'
|
||||
- packer.method == 'sys'
|
||||
notify:
|
||||
- Depend hashicorp repo
|
||||
changed_when: true
|
||||
@@ -26,7 +25,7 @@
|
||||
|
||||
- name: Append packer to pkg_archive
|
||||
when:
|
||||
- ansible_os_family == 'Alpine'
|
||||
- packer.method == 'archive'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_archive: "{{ pkg_archive + ['packer'] }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user