kolla/ansible/roles/magnum/tasks/pull.yml
SamYaple 06356a8b0f Allow magnum role to pull images
Change-Id: Ia7a0bb934827f37af6091895b95ece95a9e3c874
Partially-Implements: blueprint pre-pull-images
2016-01-06 04:23:28 +00:00

15 lines
455 B
YAML

---
- name: Pulling magnum-api image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ magnum_api_image_full }}"
when: inventory_hostname in groups['magnum-api']
- name: Pulling magnum-conductor image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ magnum_conductor_image_full }}"
when: inventory_hostname in groups['magnum-conductor']