8b0fa7728c
Co-Authored-By: caoyuan <cao.yuan@99cloud.net> Change-Id: Iefc3ffc03a15a2e8eea49e91297ce75a5690010b Partially-implements: blueprint better-reconfigure
20 lines
546 B
YAML
20 lines
546 B
YAML
---
|
|
- name: Running Sahara bootstrap container
|
|
vars:
|
|
sahara_api: "{{ sahara_services['sahara-api'] }}"
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ sahara_api.image }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_sahara"
|
|
restart_policy: "never"
|
|
volumes: "{{ sahara_api.volumes }}"
|
|
run_once: True
|
|
delegate_to: "{{ groups[sahara_api.group][0] }}"
|