Pull tgtd image when need

TrivialFix

Change-Id: Ib9812d5c4f26f87bba1f42d809caf6c9233aa8f2
This commit is contained in:
Jeffrey Zhang 2016-07-25 09:48:44 +08:00
parent 4196603f85
commit 618d5d20cc

View File

@ -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']