Merge "To avoid creating empty volume for heat"

This commit is contained in:
Zuul 2018-05-30 09:50:14 +00:00 committed by Gerrit Code Review
commit ed3aff41ee
2 changed files with 2 additions and 2 deletions
ansible/roles/heat/tasks

@ -20,6 +20,6 @@
BOOTSTRAP:
name: "bootstrap_heat"
restart_policy: "never"
volumes: "{{ heat_api.volumes }}"
volumes: "{{ heat_api.volumes|reject('equalto', '')|list }}"
run_once: True
delegate_to: "{{ groups[heat_api.group][0] }}"

@ -100,7 +100,7 @@
common_options: "{{ docker_common_options }}"
name: "{{ item.value.container_name }}"
image: "{{ item.value.image }}"
volumes: "{{ item.value.volumes }}"
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
register: check_heat_containers
when:
- kolla_action != "config"