ansible/roles/ntp/tasks/FreeBSD.yml

11 lines
214 B
YAML
Raw Normal View History

2015-12-13 18:51:08 +01:00
---
# ntp is already installed on FreeBSD
- name: Configure ntp
template: src=ntp.conf.j2 dest=/etc/ntp.conf
notify: Restart ntpd
2015-12-13 18:51:08 +01:00
- name: Start the ntp service
service: name=ntpd state=started enabled=yes