File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ image_build_metadata: {}
1414# The directory that contains the openstack.pkr.hcl to build the Slurm image
1515image_build_packer_root_path : " {{ playbook_dir }}/vendor/stackhpc/ansible-slurm-appliance/packer"
1616
17+ # Extra args to pass to the packer build command
18+ image_build_packer_extra_args : " "
19+
1720# Vars to apply to the builder group
1821image_build_builder_group_vars :
1922 update_log_path : /tmp/update_log
Original file line number Diff line number Diff line change 6464- name : Build image with packer
6565 command :
6666 cmd : |
67- packer build -only openstack.openhpc -var-file={{ pkrvars_hcl_file.path }} openstack.pkr.hcl
67+ packer build {{ image_build_packer_extra_args }} -only openstack.openhpc -var-file={{ pkrvars_hcl_file.path }} openstack.pkr.hcl
6868 chdir : " {{ image_build_packer_root_path }}"
6969 environment :
7070 ANSIBLE_CONFIG : " {{ ansible_cfg_file.path }}"
You can’t perform that action at this time.
0 commit comments