diff --git a/ansible/roles/chrony/defaults/main.yml b/ansible/roles/chrony/defaults/main.yml index a58934584c..31ec936401 100644 --- a/ansible/roles/chrony/defaults/main.yml +++ b/ansible/roles/chrony/defaults/main.yml @@ -13,6 +13,7 @@ chrony_services: - "/etc/localtime:/etc/localtime:ro" - "kolla_logs:/var/log/kolla" +chrony_bindaddress: "{{ kolla_internal_vip_address }}" #################### # Docker diff --git a/ansible/roles/chrony/templates/chrony.conf.j2 b/ansible/roles/chrony/templates/chrony.conf.j2 index 592d65958e..2dd20e1d67 100644 --- a/ansible/roles/chrony/templates/chrony.conf.j2 +++ b/ansible/roles/chrony/templates/chrony.conf.j2 @@ -38,7 +38,7 @@ port 0 deny all {% endif %} -bindaddress {{ kolla_internal_vip_address }} +bindaddress {{ chrony_bindaddress }} logchange 0.5