mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-25 22:53:06 +00:00
remove conditional for parse etc passwd
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
4adb0ec812
commit
2a39d54f41
1 changed files with 2 additions and 6 deletions
|
|
@ -111,8 +111,6 @@
|
||||||
|
|
||||||
- name: capture /etc/password variables
|
- name: capture /etc/password variables
|
||||||
ansible.builtin.include_tasks: parse_etc_password.yml
|
ansible.builtin.include_tasks: parse_etc_password.yml
|
||||||
when:
|
|
||||||
- rhel9cis_section6
|
|
||||||
tags:
|
tags:
|
||||||
- rule_5.5.2
|
- rule_5.5.2
|
||||||
- rule_5.6.2
|
- rule_5.6.2
|
||||||
|
|
@ -161,8 +159,7 @@
|
||||||
|
|
||||||
- name: run auditd logic
|
- name: run auditd logic
|
||||||
ansible.builtin.import_tasks: auditd.yml
|
ansible.builtin.import_tasks: auditd.yml
|
||||||
when:
|
when: update_audit_template
|
||||||
- update_audit_template
|
|
||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
|
|
@ -180,8 +177,7 @@
|
||||||
- name: Show Audit Summary
|
- name: Show Audit Summary
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "{{ audit_results.split('\n') }}"
|
msg: "{{ audit_results.split('\n') }}"
|
||||||
when:
|
when: run_audit
|
||||||
- run_audit
|
|
||||||
|
|
||||||
- name: If Warnings found Output count and control IDs affected
|
- name: If Warnings found Output count and control IDs affected
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue