Merge "Allow rabbitmq role to pull images"

This commit is contained in:
Jenkins 2016-01-07 02:31:02 +00:00 committed by Gerrit Code Review
commit 8737b4c96e
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']