4c2da9e6d1
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com> Co-Authored-By: zhangshuai <446077695@qq.com> Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com> Change-Id: I7aebe544e3495767d6389dbf220d633a98c137da Partially-implements: bp karbor-ansible-role
21 lines
625 B
YAML
21 lines
625 B
YAML
---
|
|
- name: Running Karbor bootstrap container
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ karbor_api_image_full }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_karbor"
|
|
restart_policy: "never"
|
|
volumes:
|
|
- "{{ node_config_directory }}/karbor-api/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
run_once: True
|
|
delegate_to: "{{ groups['karbor-api'][0] }}"
|