From 618d5d20ccf8b6c740a35ab15de452f9e4ee28cd Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Mon, 25 Jul 2016 09:48:44 +0800 Subject: [PATCH] Pull tgtd image when need TrivialFix Change-Id: Ib9812d5c4f26f87bba1f42d809caf6c9233aa8f2 --- ansible/roles/iscsi/tasks/pull.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ansible/roles/iscsi/tasks/pull.yml b/ansible/roles/iscsi/tasks/pull.yml index 33b10edd99..a4c18c82df 100644 --- a/ansible/roles/iscsi/tasks/pull.yml +++ b/ansible/roles/iscsi/tasks/pull.yml @@ -5,3 +5,10 @@ common_options: "{{ docker_common_options }}" image: "{{ iscsi_image_full }}" when: inventory_hostname in groups['iscsi'] + +- name: Pulling tgtd image + kolla_docker: + action: "pull_image" + common_options: "{{ docker_common_options }}" + image: "{{ tgtd_image_full }}" + when: inventory_hostname in groups['tgtd']