From 810453e7ef53a04b8b71a14026b7e405d2c941ef Mon Sep 17 00:00:00 2001 From: caoyuan Date: Wed, 18 Jan 2017 13:38:50 +0800 Subject: [PATCH] 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 --- ansible/roles/keystone/tasks/pull.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/roles/keystone/tasks/pull.yml b/ansible/roles/keystone/tasks/pull.yml index 3c6c232d71..230a14b29e 100644 --- a/ansible/roles/keystone/tasks/pull.yml +++ b/ansible/roles/keystone/tasks/pull.yml @@ -3,8 +3,8 @@ kolla_docker: action: "pull_image" common_options: "{{ docker_common_options }}" - image: "{{ item.image }}" + image: "{{ item.value.image }}" when: - - inventory_hostname in groups[image.group] - - image.enabled | bool + - inventory_hostname in groups[item.value.group] + - item.value.enabled | bool with_dict: "{{ keystone_services }}"