Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
nextgen-router
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
nextgen-router
Commits
f398a4a9
Commit
f398a4a9
authored
Mar 01, 2023
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update default ntp server
parent
561d29f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
files/services/docker-compose.yml.j2
files/services/docker-compose.yml.j2
+1
-1
tasks/set-ntp-server.yaml
tasks/set-ntp-server.yaml
+1
-1
No files found.
files/services/docker-compose.yml.j2
View file @
f398a4a9
...
@@ -84,7 +84,7 @@ services:
...
@@ -84,7 +84,7 @@ services:
restart: always
restart: always
image: cturra/ntp
image: cturra/ntp
environment:
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:
cap_add:
- SYS_TIME
- SYS_TIME
ports:
ports:
...
...
tasks/set-ntp-server.yaml
View file @
f398a4a9
-
name
:
default ntp server
-
name
:
default ntp server
set_fact
:
set_fact
:
ntp_server
:
ntp.aliyun
.com
ntp_server
:
time.apple
.com
-
name
:
ntp server from specific
-
name
:
ntp server from specific
set_fact
:
set_fact
:
ntp_server
:
'
{{dnsmasq.ntp}}'
ntp_server
:
'
{{dnsmasq.ntp}}'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment