fdecd21246
Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Change-Id: Ieb44258cd99744a92ef1aa958e3bdccf9519f212 Partially-implements: blueprint better-reconfigure
20 lines
534 B
YAML
20 lines
534 B
YAML
---
|
|
- name: Running Horizon bootstrap container
|
|
vars:
|
|
horizon: "{{ horizon_services['horizon'] }}"
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ horizon.image }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_horizon"
|
|
restart_policy: "never"
|
|
volumes: "{{ horizon.volumes }}"
|
|
run_once: True
|
|
delegate_to: "{{ groups[horizon.group][0] }}"
|