Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ansible
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
44
Issues
44
List
Boards
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
6f02215e
Commit
6f02215e
authored
Nov 16, 2018
by
julian.gethmann
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix iss
#45
by adapting to the new Fedora NTP config path
parent
8562549e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
roles/common/tasks/ntp.yml
roles/common/tasks/ntp.yml
+18
-0
No files found.
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