kolla-ansible/ansible/roles/rabbitmq/tasks/pull.yml
SamYaple bfcc849a40 Allow rabbitmq role to pull images
Change-Id: I184aabfbbd9fcd0b87080d044b0d286f0deac14c
Partially-Implements: blueprint pre-pull-images
2016-01-06 14:44:13 +00:00

15 lines
435 B
YAML

---
- name: Pulling rabbitmq image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ rabbitmq_image_full }}"
when: inventory_hostname in groups['rabbitmq']
- name: Pulling rabbitmq-data image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ rabbitmq_data_image_full }}"
when: inventory_hostname in groups['rabbitmq']