0c9debe893
Change-Id: I75b58248bfc4e86cace75faa82526d55a9ebbdbf Partially-Implements: blueprint sahara-role
22 lines
659 B
YAML
22 lines
659 B
YAML
---
|
|
- name: Running Sahara bootstrap container
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ sahara_api_image_full }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_sahara"
|
|
restart_policy: "never"
|
|
volumes:
|
|
- "{{ node_config_directory }}/sahara-api/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
- "sahara:/var/lib/sahara/"
|
|
run_once: True
|
|
delegate_to: "{{ groups['sahara-api'][0] }}"
|