59460c9318
We still default to kolla_internal_vip_address. However, in some cases this won't work, such as when kolla_internal_vip_address is a hostname, not an IP. This way users can override it in globals. Change-Id: I393a2a41ed3bf91f325042cca2310175927bdb40
24 lines
707 B
YAML
24 lines
707 B
YAML
---
|
|
project_name: "chrony"
|
|
|
|
chrony_services:
|
|
chrony:
|
|
container_name: "chrony"
|
|
group: "chrony"
|
|
image: "{{ chrony_image_full }}"
|
|
enabled: True
|
|
privileged: True
|
|
volumes:
|
|
- "{{ node_config_directory }}/chrony/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla"
|
|
|
|
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 }}"
|