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

29 lines
907 B
YAML

---
- name: Pulling ironic-api image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ ironic_api_image_full }}"
when: inventory_hostname in groups['ironic-api']
- name: Pulling ironic-conductor image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ ironic_conductor_image_full }}"
when: inventory_hostname in groups['ironic-conductor']
- name: Pulling ironic-discoverd image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ ironic_discoverd_image_full }}"
when: inventory_hostname in groups['ironic-discoverd']
- name: Pulling ironic-pxe image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ ironic_pxe_image_full }}"
when: inventory_hostname in groups['ironic-pxe']