e610a73e98
We don't add extra volumes support for all services in patch [1].
In order to unify the management of the volume, so we need add extra volumes
support for these services.
[1] 12ff28a693
Change-Id: Ie148accdd8e6c60df6b521d55bda12b850c0d255
Partially-Implements: blueprint support-extra-volumes
Signed-off-by: ZijianGuo <guozijn@gmail.com>
30 lines
925 B
YAML
30 lines
925 B
YAML
---
|
|
project_name: "chrony"
|
|
|
|
chrony_services:
|
|
chrony:
|
|
container_name: "chrony"
|
|
group: "chrony"
|
|
image: "{{ chrony_image_full }}"
|
|
enabled: True
|
|
privileged: True
|
|
volumes: "{{ chrony_default_volumes + chrony_extra_volumes }}"
|
|
dimensions: "{{ chrony_dimensions }}"
|
|
|
|
chrony_bindaddress: "{{ kolla_internal_vip_address }}"
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
chrony_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-chrony"
|
|
chrony_tag: "{{ openstack_release }}"
|
|
chrony_image_full: "{{ chrony_image }}:{{ chrony_tag }}"
|
|
|
|
chrony_dimensions: "{{ default_container_dimensions }}"
|
|
|
|
chrony_default_volumes:
|
|
- "{{ node_config_directory }}/chrony/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla"
|
|
chrony_extra_volumes: "{{ default_extra_volumes }}"
|