Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
slapos.package
Commits
28e2a09f
Commit
28e2a09f
authored
Jul 17, 2015
by
Rafael Monnerat
👻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: On redhat 6 the ntp service is called ntpd
parent
63b7ac92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
playbook/roles/ntp/tasks/main.yml
playbook/roles/ntp/tasks/main.yml
+6
-2
No files found.
playbook/roles/ntp/tasks/main.yml
View file @
28e2a09f
---
-
name
:
Install ntp
apt
:
name=ntp state=latest
when
:
ansible_os_family == "Debian"
...
...
@@ -10,3 +9,8 @@
-
name
:
ensure ntp is runing
service
:
name=ntp state=running enabled=yes
when
:
ansible_os_family == "Debian"
-
name
:
ensure ntp is runing (RedHat)
service
:
name=ntpd state=running enabled=yes
when
:
ansible_os_family == "RedHat"
\ No newline at end of file
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