forked from ansible-lockdown/RHEL9-CIS
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
|
||||
ansible.builtin.include_tasks: parse_etc_password.yml
|
||||
when:
|
||||
- rhel9cis_section6
|
||||
tags:
|
||||
- rule_5.5.2
|
||||
- rule_5.6.2
|
||||
|
|
@ -161,8 +159,7 @@
|
|||
|
||||
- name: run auditd logic
|
||||
ansible.builtin.import_tasks: auditd.yml
|
||||
when:
|
||||
- update_audit_template
|
||||
when: update_audit_template
|
||||
tags:
|
||||
- always
|
||||
|
||||
|
|
@ -180,8 +177,7 @@
|
|||
- name: Show Audit Summary
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ audit_results.split('\n') }}"
|
||||
when:
|
||||
- run_audit
|
||||
when: run_audit
|
||||
|
||||
- name: If Warnings found Output count and control IDs affected
|
||||
ansible.builtin.debug:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue