Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
c254f175
Commit
c254f175
authored
Jun 29, 2017
by
julian.gethmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add SCC NTP servers to ntp.conf
parent
94149573
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
roles/common/tasks/ntp.yml
roles/common/tasks/ntp.yml
+15
-1
No files found.
roles/common/tasks/ntp.yml
View file @
c254f175
---
-
name
:
install ntpdate
package
:
package
:
state
:
installed
name
:
ntpdate
become
:
yes
...
...
@@ -12,3 +12,17 @@
-
start ntp
-
enable ntp
changed_when
:
False
-
name
:
insert SCC into ntp configuration
become
:
yes
blockinfile
:
insertafter
:
^server .*[a-z]+.*$
path
:
/etc/ntp.conf
backup
:
yes
state
:
present
block
:
|
server ntp1.scc.kit.edu
server ntp2.scc.kit.edu
server ntp3.scc.kit.edu
server ntp4.scc.kit.edu
tags
:
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