ansible/roles/ntp/tasks/FreeBSD.yml

13 lines
237 B
YAML

---
# ntp is already installed on FreeBSD
- name: Configure ntp
template: src=ntp.conf.j2 dest=/etc/ntp.conf
notify: Restart ntp
tags: ntp
- name: Start the ntp service
service: name=ntpd state=started enabled=yes
tags: ntp