summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorJeff Geerling <geerlingguy@mac.com>2015-06-17 23:38:57 -0500
committerJeff Geerling <geerlingguy@mac.com>2015-06-17 23:38:57 -0500
commit09ae05768d4ca4e20ea428a63459ab0c3409b2ae (patch)
tree0c9e1c58a182e30f836f1e59f1c208a7691459a0 /tasks
parent77ffe90601c9207470b27a8a3625a38a0912cb11 (diff)
parent10c936c1a64b12ad139c214ae7f7444b670b84c3 (diff)
downloadntp-09ae05768d4ca4e20ea428a63459ab0c3409b2ae.tar.gz
ntp-09ae05768d4ca4e20ea428a63459ab0c3409b2ae.tar.bz2
ntp-09ae05768d4ca4e20ea428a63459ab0c3409b2ae.tar.xz
ntp-09ae05768d4ca4e20ea428a63459ab0c3409b2ae.zip
Merge pull request #2 from kadecole/master
Added support for FreeBSD.
Diffstat (limited to 'tasks')
-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 }}