Commit 28e2a09f by Rafael Monnerat

playbook: On redhat 6 the ntp service is called ntpd

1 parent 63b7ac92
---
- 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
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!