forked from ansible-lockdown/RHEL9-CIS
removed state presnet from infile as default
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
2a39d54f41
commit
9e63393899
2 changed files with 0 additions and 2 deletions
|
|
@ -22,7 +22,6 @@
|
||||||
path: /etc/dconf/profile/gdm
|
path: /etc/dconf/profile/gdm
|
||||||
regexp: "{{ item.regexp }}"
|
regexp: "{{ item.regexp }}"
|
||||||
line: "{{ item.line }}"
|
line: "{{ item.line }}"
|
||||||
state: present
|
|
||||||
create: true
|
create: true
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,6 @@
|
||||||
- name: "4.2.1.5 | PATCH | Ensure logging is configured | mail.* log setting"
|
- name: "4.2.1.5 | PATCH | Ensure logging is configured | mail.* log setting"
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: /etc/rsyslog.conf
|
path: /etc/rsyslog.conf
|
||||||
state: present
|
|
||||||
marker: "# {mark} MAIL LOG SETTINGS (ANSIBLE MANAGED)"
|
marker: "# {mark} MAIL LOG SETTINGS (ANSIBLE MANAGED)"
|
||||||
block: |
|
block: |
|
||||||
# mail logging additions to meet CIS standards
|
# mail logging additions to meet CIS standards
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue