From 3ccc0ca9245c16d7e233f965483d8ffdf6697136 Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Thu, 14 Oct 2021 18:06:50 +0200 Subject: [PATCH] Force task to run in check mode for NTP configuration --- roles/base/tasks/ntp.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/base/tasks/ntp.yml b/roles/base/tasks/ntp.yml index 7e1191f..a16f88c 100644 --- a/roles/base/tasks/ntp.yml +++ b/roles/base/tasks/ntp.yml @@ -3,6 +3,7 @@ command: cat ntpd.conf args: chdir: /etc/ + check_mode: no register: ntpd_conf tags: - ntp