diff --git a/roles/base/templates/ntp/ntp.conf.j2 b/roles/base/templates/ntp/ntp.conf.j2 index 17f775eaf3..e72371caa7 100644 --- a/roles/base/templates/ntp/ntp.conf.j2 +++ b/roles/base/templates/ntp/ntp.conf.j2 @@ -7,7 +7,7 @@ restrict -6 ::1 # setup a set of servers that we all look at. # use servers from 1/2/3.rhel.pool.ntp.org as they are allowed out of the firewall # However, we need specific ip's to be allowed out from builders. -{% if datacenter == 'phx2' and not inventory_hostname.startswith('bastion0') +{% if datacenter == 'phx2' and not inventory_hostname.startswith('bastion0') %} # # in phx2 we want to use bastion01 and bastion02 for ntp service # Unless we are bastion01/02, then we want to use the normal pool