Skip to content
Snippets Groups Projects
Commit 06356a8b authored by SamYaple's avatar SamYaple
Browse files

Allow magnum role to pull images

Change-Id: Ia7a0bb934827f37af6091895b95ece95a9e3c874
Partially-Implements: blueprint pre-pull-images
parent 9efc593c
No related branches found
No related tags found
No related merge requests found
---
- include: register.yml
when: inventory_hostname in groups['magnum-api']
- include: config.yml
when: inventory_hostname in groups['magnum-api'] or
inventory_hostname in groups['magnum-conductor']
- include: bootstrap.yml
when: inventory_hostname in groups['magnum-api']
- include: start.yml
when: inventory_hostname in groups['magnum-api'] or
inventory_hostname in groups['magnum-conductor']
--- ---
- include: register.yml - include: "{{ action }}.yml"
when: inventory_hostname in groups['magnum-api']
- include: config.yml
when: inventory_hostname in groups['magnum-api'] or
inventory_hostname in groups['magnum-conductor']
- include: bootstrap.yml
when: inventory_hostname in groups['magnum-api']
- include: start.yml
when: inventory_hostname in groups['magnum-api'] or
inventory_hostname in groups['magnum-conductor']
---
- name: Pulling magnum-api image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ magnum_api_image_full }}"
when: inventory_hostname in groups['magnum-api']
- name: Pulling magnum-conductor image
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ magnum_conductor_image_full }}"
when: inventory_hostname in groups['magnum-conductor']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment