From 00a748d6bb8c8a0bc65077c660c00be50b32a821 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Sun, 20 Sep 2020 13:59:43 +0200 Subject: [PATCH] use touch with no date changes Signed-off-by: Sebastian Gumprich --- tasks/sysctl.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/sysctl.yml b/tasks/sysctl.yml index aacce35cd..1d6ed6fc4 100644 --- a/tasks/sysctl.yml +++ b/tasks/sysctl.yml @@ -5,7 +5,9 @@ owner: 'root' group: 'root' mode: '0440' - state: file + state: touch + modification_time: preserve + access_time: preserve - name: set Daemon umask, do config for rhel-family | NSA 2.2.4.1 template: