Fix the error when pull keystone image

When pull keystone image, it will failed, msg is "image' is undefined",
this patch fix it.

Change-Id: I510030cc20a44410a847ab0a6ef36effae716975
This commit is contained in:
caoyuan 2017-01-18 13:38:50 +08:00
parent d8180c52e1
commit 810453e7ef

View File

@ -3,8 +3,8 @@
kolla_docker: kolla_docker:
action: "pull_image" action: "pull_image"
common_options: "{{ docker_common_options }}" common_options: "{{ docker_common_options }}"
image: "{{ item.image }}" image: "{{ item.value.image }}"
when: when:
- inventory_hostname in groups[image.group] - inventory_hostname in groups[item.value.group]
- image.enabled | bool - item.value.enabled | bool
with_dict: "{{ keystone_services }}" with_dict: "{{ keystone_services }}"