From 10c936c1a64b12ad139c214ae7f7444b670b84c3 Mon Sep 17 00:00:00 2001 From: kadecole Date: Wed, 17 Jun 2015 23:16:47 -0500 Subject: Added support for FreeBSD --- tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tasks') 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 }} -- cgit v1.2.3