summaryrefslogtreecommitdiffstats
path: root/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/main.yml')
-rw-r--r--tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index 9ae6783..b71ac16 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -13,6 +13,10 @@
apt: name=ntp state=installed
when: ansible_os_family == 'Debian'
+- name: Install NTP (FreeBSD).
+ pkgng: name=ntp state=present
+ when: ansible_os_family == 'FreeBSD'
+
- name: Ensure NTP is running and enabled at system start.
service: >
name={{ ntp_daemon }}