Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
ea7e2c3f
Commit
ea7e2c3f
authored
Jun 29, 2017
by
julian.gethmann
Browse files
Add SCC NTP servers to ntp.conf
parent
19b6eea4
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/common/tasks/ntp.yml
View file @
ea7e2c3f
---
---
-
name
:
install ntpdate
-
name
:
install ntpdate
package
:
package
:
state
:
installed
state
:
installed
name
:
ntpdate
name
:
ntpdate
become
:
yes
become
:
yes
...
@@ -12,3 +12,17 @@
...
@@ -12,3 +12,17 @@
-
start ntp
-
start ntp
-
enable ntp
-
enable ntp
changed_when
:
False
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