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
6f02215e
Commit
6f02215e
authored
Nov 16, 2018
by
julian.gethmann
Browse files
Fix iss
#45
by adapting to the new Fedora NTP config path
parent
8562549e
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/common/tasks/ntp.yml
View file @
6f02215e
...
...
@@ -13,6 +13,21 @@
-
enable ntp
changed_when
:
False
-
name
:
insert SCC into ntp configuration
become
:
yes
blockinfile
:
insertafter
:
^server .*[a-z]+.*$
path
:
/etc/ntp/step-tickers
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
when
:
(ansible_distribution == 'Fedora' and ansible_distribution_major_version >= 28)
-
name
:
insert SCC into ntp configuration
become
:
yes
blockinfile
:
...
...
@@ -26,3 +41,6 @@
server ntp3.scc.kit.edu
server ntp4.scc.kit.edu
tags
:
ntp
when
:
(ansible_distribution == 'Fedora' and ansible_distribution_major_version < 28)
julian.gethmann
@gethmann
mentioned in issue
#43 (closed)
·
Jan 10, 2019
mentioned in issue
#43 (closed)
mentioned in issue #43
Toggle commit list
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