577bb50a04
Masakari provides Instances High Availability Service for OpenStack clouds by automatically recovering failed Instances. Depends-On: https://review.openstack.org/#/c/615469/ Change-Id: I0b3457232ee86576022cff64eb2e227ff9bbf0aa Implements: blueprint ansible-masakari Co-Authored-By: Gaëtan Trellu <gaetan.trellu@incloudus.com>
21 lines
601 B
YAML
21 lines
601 B
YAML
---
|
|
- name: Running Masakari bootstrap container
|
|
vars:
|
|
masakari_api: "{{ masakari_services['masakari-api'] }}"
|
|
become: true
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ masakari_api.image }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_masakari"
|
|
restart_policy: "no"
|
|
volumes: "{{ masakari_api.volumes|reject('equalto', '')|list }}"
|
|
run_once: True
|
|
delegate_to: "{{ groups[masakari_api.group][0] }}"
|