Allow rabbitmq role to pull images

Change-Id: I184aabfbbd9fcd0b87080d044b0d286f0deac14c
Partially-Implements: blueprint pre-pull-images
This commit is contained in:
SamYaple 2016-01-05 18:15:18 +00:00
parent e7c3677e5a
commit bfcc849a40
3 changed files with 21 additions and 5 deletions

View File

@ -0,0 +1,6 @@
---
- include: config.yml
- include: bootstrap.yml
- include: start.yml

View File

@ -1,6 +1,2 @@
---
- include: config.yml
- include: bootstrap.yml
- include: start.yml
- include: "{{ action }}.yml"

View File

@ -0,0 +1,14 @@
---
- 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']