Playbook for upgrade murano
Change-Id: Iffb12c8e22724ba779e4ce80204710513875e725 Partially-Implements: blueprint upgrade-kolla Implements: blueprint upgrade-murano
This commit is contained in:
parent
1057dcd50a
commit
54aa896735
@ -36,20 +36,5 @@
|
||||
run_once: True
|
||||
delegate_to: "{{ groups['murano-api'][0] }}"
|
||||
|
||||
- name: Running Murano bootstrap container
|
||||
kolla_docker:
|
||||
action: "start_container"
|
||||
common_options: "{{ docker_common_options }}"
|
||||
detach: False
|
||||
environment:
|
||||
KOLLA_BOOTSTRAP:
|
||||
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
||||
image: "{{ murano_api_image_full }}"
|
||||
labels:
|
||||
BOOTSTRAP:
|
||||
name: "bootstrap_murano"
|
||||
restart_policy: "never"
|
||||
volumes: "{{ node_config_directory }}/murano-api/:{{ container_config_directory }}/:ro"
|
||||
run_once: True
|
||||
delegate_to: "{{ groups['murano-api'][0] }}"
|
||||
- include: bootstrap_service.yml
|
||||
when: database_created
|
||||
|
17
ansible/roles/murano/tasks/bootstrap_service.yml
Normal file
17
ansible/roles/murano/tasks/bootstrap_service.yml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
- name: Running Murano bootstrap container
|
||||
kolla_docker:
|
||||
action: "start_container"
|
||||
common_options: "{{ docker_common_options }}"
|
||||
detach: False
|
||||
environment:
|
||||
KOLLA_BOOTSTRAP:
|
||||
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
||||
image: "{{ murano_api_image_full }}"
|
||||
labels:
|
||||
BOOTSTRAP:
|
||||
name: "bootstrap_murano"
|
||||
restart_policy: "never"
|
||||
volumes: "{{ node_config_directory }}/murano-api/:{{ container_config_directory }}/:ro"
|
||||
run_once: True
|
||||
delegate_to: "{{ groups['murano-api'][0] }}"
|
@ -1 +1,7 @@
|
||||
---
|
||||
- include: config.yml
|
||||
|
||||
- include: bootstrap_service.yml
|
||||
|
||||
- include: start.yml
|
||||
serial: "30%"
|
||||
|
Loading…
Reference in New Issue
Block a user