From 81cab4523aeafd35ee5deba8e473722afa12bdf8 Mon Sep 17 00:00:00 2001 From: Farhad Shahbazi Date: Tue, 5 Sep 2017 13:25:39 +0200 Subject: [PATCH] switch from ntp to chrony --- tasks/ntp.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/ntp.yml b/tasks/ntp.yml index c38ff58..636c2b7 100644 --- a/tasks/ntp.yml +++ b/tasks/ntp.yml @@ -1,9 +1,9 @@ --- -- name: ntp - install - apt: name=ntp +- name: ntp - install chrony + apt: name=chrony when: ansible_virtualization_type != 'lxc' or ansible_virtualization_role == 'host' -- name: ntp - run and enable - service: name=ntp state=started enabled=yes +- name: ntp - run and enable chrony + service: name=chrony state=started enabled=yes when: ansible_virtualization_type != 'lxc' or ansible_virtualization_role == 'host'