Playbook for upgrade murano

Change-Id: Iffb12c8e22724ba779e4ce80204710513875e725
Partially-Implements: blueprint upgrade-kolla
Implements: blueprint upgrade-murano
This commit is contained in:
Allen Gao 2016-02-02 15:03:08 +08:00
parent 1057dcd50a
commit 54aa896735
3 changed files with 24 additions and 16 deletions

View File

@ -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

View 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] }}"

View File

@ -1 +1,7 @@
---
- include: config.yml
- include: bootstrap_service.yml
- include: start.yml
serial: "30%"