diff --git a/roles/timesync-enabled/tasks/main.yml b/roles/timesync-enabled/tasks/main.yml index 79e1042..57a980b 100644 --- a/roles/timesync-enabled/tasks/main.yml +++ b/roles/timesync-enabled/tasks/main.yml @@ -10,11 +10,11 @@ when: timesync_servers is not defined -- include: timesync_timesyncd.yml +- include_tasks: timesync_timesyncd.yml when: timesync_daemon == "timesyncd" -- include: timesync_ntp.yml +- include_tasks: timesync_ntp.yml when: timesync_daemon not in ["timesyncd", ]