2016-09-08 12:49:02 +01:00
|
|
|
---
|
|
|
|
- name: Running Horizon bootstrap container
|
2017-01-20 00:08:09 +08:00
|
|
|
vars:
|
|
|
|
horizon: "{{ horizon_services['horizon'] }}"
|
2018-05-30 11:25:19 +07:00
|
|
|
become: true
|
2023-11-08 14:17:51 +01:00
|
|
|
kolla_container:
|
2016-09-08 12:49:02 +01:00
|
|
|
action: "start_container"
|
|
|
|
common_options: "{{ docker_common_options }}"
|
|
|
|
detach: False
|
|
|
|
environment:
|
|
|
|
KOLLA_BOOTSTRAP:
|
|
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
2017-01-20 00:08:09 +08:00
|
|
|
image: "{{ horizon.image }}"
|
2016-09-08 12:49:02 +01:00
|
|
|
labels:
|
|
|
|
BOOTSTRAP:
|
|
|
|
name: "bootstrap_horizon"
|
2023-04-27 11:41:55 +02:00
|
|
|
restart_policy: oneshot
|
2017-01-20 00:08:09 +08:00
|
|
|
volumes: "{{ horizon.volumes }}"
|
2016-09-08 12:49:02 +01:00
|
|
|
run_once: True
|
2017-01-20 00:08:09 +08:00
|
|
|
delegate_to: "{{ groups[horizon.group][0] }}"
|