diff --git a/roles/timesync-enabled/tasks/timesync_busybox-ntp.yml b/roles/timesync-enabled/tasks/timesync_busybox-ntp.yml index 46edd17..f366f85 100644 --- a/roles/timesync-enabled/tasks/timesync_busybox-ntp.yml +++ b/roles/timesync-enabled/tasks/timesync_busybox-ntp.yml @@ -1,4 +1,10 @@ --- +- assert: + that: + - ansible_os_family|lower == "alpine" + fail_msg: "Busybox NTP supported only on Alpine. Patches welcome ;)" + + - name: Template ntp.conf template: src: etc/busybox-ntp.conf.j2