diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 6c88f70..e3a7ba3 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -14,7 +14,7 @@ tags: timezone - name: Enable NTP - command: /usr/bin/timedatectl set-ntp on + service: name=systemd-timesyncd enabled=yes tags: ntp - include: packages_Ubuntu.yml