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
e12bb10b
Commit
e12bb10b
authored
Mar 02, 2023
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ntp things to cloud
parent
f398a4a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
cloud.yaml
cloud.yaml
+12
-0
No files found.
cloud.yaml
View file @
e12bb10b
...
...
@@ -19,9 +19,14 @@
-
wenaihouse.com
bridges
:
[]
dnsmasq
:
{}
ntp_server
:
time.apple.com
tasks
:
-
name
:
mcnetwork install
import_tasks
:
./tasks/mcnetwork-install-process.yaml
-
name
:
install some packages
become
:
true
apt
:
name
:
ntpdate,util-linux
-
name
:
pull some images
docker_image
:
name
:
'
{{item}}'
...
...
@@ -78,6 +83,13 @@
-
iptables-gateways-interpreter.sh
-
name
:
dnsmasq
import_tasks
:
./tasks/dnsmasq.yaml
-
name
:
ntpdate update cron
become
:
true
blockinfile
:
path
:
/etc/crontab
marker
:
'
#
{mark}
MyCard
NextGen
Router
block
for
ntpdate'
block
:
|
40 */2 * * * root /usr/sbin/ntpdate -u {{ntp_server}} ; /usr/sbin/hwclock -w
handlers
:
-
name
:
restart_dnsmasq
docker_compose
:
...
...
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