7ce05f9782
Partially-Implements: blueprint ansible-aodh Change-Id: I9e20f4bf5e7d8f37f243ae15746e2b7bb49eb20c
22 lines
645 B
YAML
22 lines
645 B
YAML
---
|
|
- name: Running aodh bootstrap container
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
detach: False
|
|
environment:
|
|
KOLLA_BOOTSTRAP:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
image: "{{ aodh_api_image_full }}"
|
|
labels:
|
|
BOOTSTRAP:
|
|
name: "bootstrap_aodh"
|
|
restart_policy: "never"
|
|
volumes:
|
|
- "{{ node_config_directory }}/aodh-api/:{{ container_config_directory }}/:ro"
|
|
- "aodh:/var/lib/aodh/"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
run_once: True
|
|
delegate_to: "{{ groups['aodh-api'][0] }}"
|