diff --git a/tasks/timesyncd.yml b/tasks/timesyncd.yml index fbaeb3b4..5411080d 100644 --- a/tasks/timesyncd.yml +++ b/tasks/timesyncd.yml @@ -17,7 +17,7 @@ - CIS-UBUNTU2004-2.1.1.2 - name: register timesyncd status - command: systemctl status systemd-timesyncd # noqa command-instead-of-module + command: systemctl status systemd-timesyncd register: timesyncd_status changed_when: false failed_when: false