kolla-ansible/ansible/roles/sahara/tasks/pull.yml
zhubingbing 0c9debe893 Add sahara ansible role
Change-Id: I75b58248bfc4e86cace75faa82526d55a9ebbdbf
Partially-Implements: blueprint sahara-role
2016-09-07 15:29:02 +00:00

15 lines
446 B
YAML

---
- name: Pulling sahara-engine image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ sahara_engine_image_full }}"
when: inventory_hostname in groups['sahara-engine']
- name: Pulling sahara-api image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ sahara_api_image_full }}"
when: inventory_hostname in groups['sahara-api']