16a1f9f006
Add /etc/localtime:/etc/localtime:ro to volume for aodh, barbican, etcd, gnocchi, kuryr and sahara. All the containers are added in Netwon cycle, so no need to backport Closes-Bug: #1633049 Change-Id: I9cdba54cf730af44fb1a9ff6f2c936d23dadbe9a
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"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "aodh:/var/lib/aodh/"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
run_once: True
|
|
delegate_to: "{{ groups['aodh-api'][0] }}"
|