To avoid creating empty volume for heat
1. when set heat_dev_mode to no, the volume will be empty[0], this ps to avoid creating empty volume. [0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/heat/defaults/main.yml#L13 Change-Id: Id22469442a4713f53646ffec2c5a960722fccb44
This commit is contained in:
parent
5c1f0226d3
commit
b3b0d28eb6
@ -20,6 +20,6 @@
|
|||||||
BOOTSTRAP:
|
BOOTSTRAP:
|
||||||
name: "bootstrap_heat"
|
name: "bootstrap_heat"
|
||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes: "{{ heat_api.volumes }}"
|
volumes: "{{ heat_api.volumes|reject('equalto', '')|list }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[heat_api.group][0] }}"
|
delegate_to: "{{ groups[heat_api.group][0] }}"
|
||||||
|
@ -100,7 +100,7 @@
|
|||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes }}"
|
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
||||||
register: check_heat_containers
|
register: check_heat_containers
|
||||||
when:
|
when:
|
||||||
- kolla_action != "config"
|
- kolla_action != "config"
|
||||||
|
Loading…
Reference in New Issue
Block a user