Allow rabbitmq role to pull images
Change-Id: I184aabfbbd9fcd0b87080d044b0d286f0deac14c Partially-Implements: blueprint pre-pull-images
This commit is contained in:
parent
e7c3677e5a
commit
bfcc849a40
6
ansible/roles/rabbitmq/tasks/deploy.yml
Normal file
6
ansible/roles/rabbitmq/tasks/deploy.yml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
- include: config.yml
|
||||
|
||||
- include: bootstrap.yml
|
||||
|
||||
- include: start.yml
|
@ -1,6 +1,2 @@
|
||||
---
|
||||
- include: config.yml
|
||||
|
||||
- include: bootstrap.yml
|
||||
|
||||
- include: start.yml
|
||||
- include: "{{ action }}.yml"
|
||||
|
14
ansible/roles/rabbitmq/tasks/pull.yml
Normal file
14
ansible/roles/rabbitmq/tasks/pull.yml
Normal 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']
|
Loading…
Reference in New Issue
Block a user