Make it possible to override chrony bindaddress

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
This commit is contained in:
Clint Byrum 2018-06-05 15:21:14 -07:00
parent 9579fa8ddf
commit 59460c9318
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ chrony_services:
- "/etc/localtime:/etc/localtime:ro"
- "kolla_logs:/var/log/kolla"
chrony_bindaddress: "{{ kolla_internal_vip_address }}"
####################
# Docker

View File

@ -38,7 +38,7 @@ port 0
deny all
{% endif %}
bindaddress {{ kolla_internal_vip_address }}
bindaddress {{ chrony_bindaddress }}
logchange 0.5