Add variable for user defined list of deploy images
It might be needed to supply a list of extra deploy images as well as the defaults, possibly to cover architectures in addition to x86. Change-Id: I2ecf21c44bac75b0e2cbf3bd786821ff0b7bf31a
This commit is contained in:
parent
b974a6c0e0
commit
db106d8b88
@ -402,6 +402,9 @@ ironic_deploy_image_list:
|
||||
disk_format: 'ari'
|
||||
name: "{{ ironic_deploy_image_initramfs_name }}"
|
||||
|
||||
#allow user defined extra images to upload
|
||||
ironic_extra_deploy_image_list: []
|
||||
|
||||
# Ironic inspector
|
||||
ironic_inspector_enable_discovery: True
|
||||
ironic_inspector_openstack_db_connection_string: "mysql+pymysql://{{ ironic_inspector_galera_user }}:{{ ironic_inspector_container_mysql_password }}@{{ ironic_inspector_galera_address }}:{{ ironic_inspector_galera_port }}/{{ ironic_inspector_galera_database }}?charset=utf8{% if ironic_inspector_galera_use_ssl | bool %}&ssl_verify_cert=true{% if ironic_inspector_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ ironic_inspector_galera_ssl_ca_cert }}{% endif %}{% endif %}"
|
||||
|
@ -38,8 +38,7 @@
|
||||
retries: 10
|
||||
delay: 10
|
||||
register: ironic_download_results
|
||||
with_items:
|
||||
- "{{ ironic_deploy_image_list }}"
|
||||
with_items: "{{ ironic_deploy_image_list + ironic_extra_deploy_image_list }}"
|
||||
|
||||
- name: Upload images
|
||||
openstack.cloud.image:
|
||||
@ -49,5 +48,4 @@
|
||||
container_format: "{{ item.item.container_format }}"
|
||||
disk_format: "{{ item.item.disk_format }}"
|
||||
filename: "{{ item.dest }}"
|
||||
with_items:
|
||||
- "{{ ironic_download_results.results }}"
|
||||
with_items: "{{ ironic_download_results.results }}"
|
||||
|
Loading…
Reference in New Issue
Block a user