Commit f398a4a9 authored by nanahira's avatar nanahira

update default ntp server

parent 561d29f5
......@@ -84,7 +84,7 @@ services:
restart: always
image: cturra/ntp
environment:
NTP_SERVERS: {{ dnsmasq.ntp.upstream | default('ntp1.aliyun.com,ntp2.aliyun.com,ntp3.aliyun.com,ntp4.aliyun.com') }}
NTP_SERVERS: {{ dnsmasq.ntp.upstream | default('time1.apple.com,time2.apple.com,time3.apple.com,time4.apple.com,time5.apple.com,time6.apple.com,time7.apple.com') }}
cap_add:
- SYS_TIME
ports:
......
- name: default ntp server
set_fact:
ntp_server: ntp.aliyun.com
ntp_server: time.apple.com
- name: ntp server from specific
set_fact:
ntp_server: '{{dnsmasq.ntp}}'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment