kolla/ansible/roles/mistral/tasks/pull.yml
SamYaple 0995a40100 Allow mistral role to pull images
Change-Id: Id5e56f62dff4fc7bc52641a56abab3ee88a25740
Partially-Implements: blueprint pre-pull-images
2016-01-07 16:00:43 +00:00

22 lines
692 B
YAML

---
- name: Pulling mistral-api image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ mistral_api_image_full }}"
when: inventory_hostname in groups['mistral-api']
- name: Pulling mistral-engine image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ mistral_engine_image_full }}"
when: inventory_hostname in groups['mistral-engine']
- name: Pulling mistral-executor image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ mistral_executorngine_image_full }}"
when: inventory_hostname in groups['mistral-executor']