Playbook for keystone upgrade

New playbook for keystone release upgrade.

Co-Authored-By: SamYaple <sam@yaple.net>
Change-Id: I387abb30e5ead0033430848164d250fce739d2fd
Implements: blueprint upgrade-keystone
Partially-Implements: blueprint upgrade-kolla
This commit is contained in:
Michal Jastrzebski 2015-12-14 15:10:02 -06:00 committed by SamYaple
parent a87c2a6929
commit 26524c7475
3 changed files with 23 additions and 14 deletions

View File

@ -37,18 +37,5 @@
run_once: True
delegate_to: "{{ groups['keystone'][0] }}"
- name: Running Keystone bootstrap container
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
detach: False
environment:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
image: "{{ keystone_image_full }}"
name: "bootstrap_keystone"
restart_policy: "never"
volumes: "{{ node_config_directory }}/keystone/:{{ container_config_directory }}/:ro"
run_once: True
delegate_to: "{{ groups['keystone'][0] }}"
- include: bootstrap_service.yml
when: database_created

View File

@ -0,0 +1,15 @@
---
- name: Running Keystone bootstrap container
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
detach: False
environment:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
image: "{{ keystone_image_full }}"
name: "bootstrap_keystone"
restart_policy: "never"
volumes: "{{ node_config_directory }}/keystone/:{{ container_config_directory }}/:ro"
run_once: True
delegate_to: "{{ groups['keystone'][0] }}"

View File

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