From 9e633938998af3c03044054b325f643e67f3c48e Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Wed, 25 Jan 2023 09:47:13 +0000 Subject: [PATCH] removed state presnet from infile as default Signed-off-by: Mark Bolwell --- tasks/section_1/cis_1.8.x.yml | 1 - tasks/section_4/cis_4.2.1.x.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/tasks/section_1/cis_1.8.x.yml b/tasks/section_1/cis_1.8.x.yml index 2836cee..dff2930 100644 --- a/tasks/section_1/cis_1.8.x.yml +++ b/tasks/section_1/cis_1.8.x.yml @@ -22,7 +22,6 @@ path: /etc/dconf/profile/gdm regexp: "{{ item.regexp }}" line: "{{ item.line }}" - state: present create: true owner: root group: root diff --git a/tasks/section_4/cis_4.2.1.x.yml b/tasks/section_4/cis_4.2.1.x.yml index 90c68e0..4eeb61d 100644 --- a/tasks/section_4/cis_4.2.1.x.yml +++ b/tasks/section_4/cis_4.2.1.x.yml @@ -75,7 +75,6 @@ - name: "4.2.1.5 | PATCH | Ensure logging is configured | mail.* log setting" ansible.builtin.blockinfile: path: /etc/rsyslog.conf - state: present marker: "# {mark} MAIL LOG SETTINGS (ANSIBLE MANAGED)" block: | # mail logging additions to meet CIS standards