chrony: try and fix chrony in staging
In staging we set a 'staging' datacenter, but this makes the chrony template think they are external hosts not in iad2, which is wrong. So, add a conditional to make them use our internal iad2 ntp servers if they are in staging datacenter too. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
f9f87b928a
commit
c349a7c25e
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
# setup our servers
|
||||
{% if datacenter == 'iad2' and not ansible_hostname.startswith('bastion') %}
|
||||
{% if ( datacenter == 'iad2' or datacenter == 'staging' ) and not ansible_hostname.startswith('bastion') %}
|
||||
server bastion01.iad2.fedoraproject.org iburst
|
||||
server bastion02.iad2.fedoraproject.org iburst
|
||||
{% elif datacenter == 'cloud' and not ansible_hostname.startswith('cloud-noc') %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue