Use force rebuild feature in stackhpc.os-images role
Change-Id: I21a682c72cee97583dcb4f1a01fa023c6e885608
This commit is contained in:
parent
1ee04846f6
commit
44b140cedc
@ -23,12 +23,6 @@
|
||||
ipa_image_force_rebuild: false
|
||||
tasks:
|
||||
- block:
|
||||
- name: Ensure existing Ironic Python Agent images are removed (force rebuild)
|
||||
file:
|
||||
path: "{{ image_cache_path }}/{{ ipa_image_name }}"
|
||||
state: absent
|
||||
when: ipa_image_force_rebuild | bool
|
||||
|
||||
- name: Ensure Ironic Python Agent images are built
|
||||
include_role:
|
||||
name: stackhpc.os-images
|
||||
@ -44,4 +38,5 @@
|
||||
type: raw
|
||||
os_images_git_elements: "{{ ipa_build_dib_git_elements }}"
|
||||
os_images_upload: False
|
||||
os_images_force_rebuild: "{{ ipa_image_force_rebuild }}"
|
||||
when: ipa_build_images | bool
|
||||
|
@ -14,12 +14,6 @@
|
||||
ipa_image_force_rebuild: false
|
||||
tasks:
|
||||
- block:
|
||||
- name: Ensure existing Ironic Python Agent images are removed (force rebuild)
|
||||
file:
|
||||
path: "{{ image_cache_path }}/{{ ipa_image_name }}"
|
||||
state: absent
|
||||
when: ipa_image_force_rebuild | bool
|
||||
|
||||
- name: Ensure Ironic Python Agent images are built
|
||||
include_role:
|
||||
name: stackhpc.os-images
|
||||
@ -35,6 +29,7 @@
|
||||
type: raw
|
||||
os_images_git_elements: "{{ ipa_build_dib_git_elements }}"
|
||||
os_images_upload: False
|
||||
os_images_force_rebuild: "{{ ipa_image_force_rebuild }}"
|
||||
|
||||
- name: Ensure Ironic Python Agent images are copied onto seed
|
||||
copy:
|
||||
|
Loading…
Reference in New Issue
Block a user