From b9b283fd5219222fb5e47bdf24b88e56fa958f48 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Mon, 20 Feb 2023 14:16:15 +0000 Subject: [PATCH] added fix for issue #30 Signed-off-by: Mark Bolwell --- Changelog.md | 6 +++++- tasks/section_1/cis_1.4.x.yml | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index 4ca9caf..ba1933c 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,7 +2,11 @@ ## 1.0.2 -#30 - thanks to smattterchew ability to change sshd config file to use dropin file instead. +thanks to @smatterchew +#30 ability to change sshd config file to use dropin file instead. + +thanks to @I-am-MoS +#34 create user.cfg if not present Aligned benchmark audit version with remediate release ## 1.0.1 diff --git a/tasks/section_1/cis_1.4.x.yml b/tasks/section_1/cis_1.4.x.yml index f2dcaee..7f0e71a 100644 --- a/tasks/section_1/cis_1.4.x.yml +++ b/tasks/section_1/cis_1.4.x.yml @@ -26,6 +26,9 @@ owner: root group: root mode: "{{ item.mode }}" + state: touch + modification_time: preserve + acess_time: preserve loop: - { path: 'grub.cfg', mode: '0700' } - { path: 'grubenv', mode: '0600' }