b155ad5d96
Co-Authored-By: caoyuan <cao.yuan@99cloud.net> Change-Id: I1cd494afd3a76e832272e70e9e1e5a41a522a31e Partially-implements: blueprint better-reconfigure
20 lines
510 B
YAML
20 lines
510 B
YAML
---
|
|
- name: Running etcd bootstrap container
|
|
vars:
|
|
etcd: "{{ etcd_services['etcd'] }}"
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ etcd.image }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_etcd"
|
|
restart_policy: "never"
|
|
volumes: "{{ etcd.volumes }}"
|
|
run_once: True
|
|
delegate_to: "{{ groups[etcd.group][0] }}"
|