abf83650a1
Change-Id: Ic941a396b5cd9abfb5e9941218e91b784f8bba0a Implements: bp senlin-container
21 lines
625 B
YAML
21 lines
625 B
YAML
---
|
|
- name: Running Senlin bootstrap container
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ senlin_api_image_full }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_senlin"
|
|
restart_policy: "never"
|
|
volumes:
|
|
- "{{ node_config_directory }}/senlin-api/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
run_once: True
|
|
delegate_to: "{{ groups['senlin-api'][0] }}"
|