Skip to content

Commit 11548c8

Browse files
committed
packer-rocm/build: get plugins, run 'packer init'
1 parent c629016 commit 11548c8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packer-rocm/playbooks/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,14 @@
131131
ansible.builtin.set_fact:
132132
packer_vars: "{{ packer_rocm_hcl_awk.stdout_lines | replace('\"', '') }}"
133133

134+
- name: "Run 'packer init', ensure plugin coverage"
135+
ansible.builtin.command:
136+
cmd: 'packer init .'
137+
chdir: "{{ (workdir, packer_dist) | path_join }}"
138+
environment:
139+
PACKER_LOG: '1' # wanted as str
140+
changed_when: false # command w/ assumed changes: report 'ok' or failure
141+
134142
- name: "Run 'packer build', create '{{ _creates }}'"
135143
ansible.builtin.command:
136144
cmd: >

0 commit comments

Comments
 (0)