Allow murano role to pull images
Change-Id: I0971ddcff7b688ae0dee7658ab4be7ca3fbbdc28 Partially-Implements: blueprint pre-pull-images
This commit is contained in:
parent
b6ac0b2eef
commit
e764e8522d
14
ansible/roles/murano/tasks/deploy.yml
Normal file
14
ansible/roles/murano/tasks/deploy.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
- include: register.yml
|
||||||
|
when: inventory_hostname in groups['murano-api']
|
||||||
|
|
||||||
|
- include: config.yml
|
||||||
|
when: inventory_hostname in groups['murano-api'] or
|
||||||
|
inventory_hostname in groups['murano-engine']
|
||||||
|
|
||||||
|
- include: bootstrap.yml
|
||||||
|
when: inventory_hostname in groups['murano-api']
|
||||||
|
|
||||||
|
- include: start.yml
|
||||||
|
when: inventory_hostname in groups['murano-api'] or
|
||||||
|
inventory_hostname in groups['murano-engine']
|
@ -1,14 +1,2 @@
|
|||||||
---
|
---
|
||||||
- include: register.yml
|
- include: "{{ action }}.yml"
|
||||||
when: inventory_hostname in groups['murano-api']
|
|
||||||
|
|
||||||
- include: config.yml
|
|
||||||
when: inventory_hostname in groups['murano-api'] or
|
|
||||||
inventory_hostname in groups['murano-engine']
|
|
||||||
|
|
||||||
- include: bootstrap.yml
|
|
||||||
when: inventory_hostname in groups['murano-api']
|
|
||||||
|
|
||||||
- include: start.yml
|
|
||||||
when: inventory_hostname in groups['murano-api'] or
|
|
||||||
inventory_hostname in groups['murano-engine']
|
|
||||||
|
14
ansible/roles/murano/tasks/pull.yml
Normal file
14
ansible/roles/murano/tasks/pull.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
- name: Pulling murano-api image
|
||||||
|
kolla_docker:
|
||||||
|
action: "pull_image"
|
||||||
|
common_options: "{{ docker_common_options }}"
|
||||||
|
image: "{{ murano_api_image_full }}"
|
||||||
|
when: inventory_hostname in groups['murano-api']
|
||||||
|
|
||||||
|
- name: Pulling murano-engine image
|
||||||
|
kolla_docker:
|
||||||
|
action: "pull_image"
|
||||||
|
common_options: "{{ docker_common_options }}"
|
||||||
|
image: "{{ murano_engine_image_full }}"
|
||||||
|
when: inventory_hostname in groups['murano-engine']
|
Loading…
Reference in New Issue
Block a user