forked from ansible-lockdown/RHEL9-CIS
removed arg warn
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
cb0dd58df5
commit
77dd593e0f
6 changed files with 0 additions and 30 deletions
|
|
@ -76,15 +76,11 @@
|
|||
environment: "{{ audit_run_script_environment | default({}) }}"
|
||||
changed_when: audit_run_pre_remediation.rc == 0
|
||||
register: audit_run_pre_remediation
|
||||
args:
|
||||
warn: false
|
||||
|
||||
- name: Pre Audit | Capture audit data if json format
|
||||
block:
|
||||
- name: "Pre Audit | capture data {{ pre_audit_outfile }}"
|
||||
shell: "cat {{ pre_audit_outfile }}"
|
||||
args:
|
||||
warn: false
|
||||
register: pre_audit
|
||||
changed_when: false
|
||||
|
||||
|
|
@ -100,8 +96,6 @@
|
|||
block:
|
||||
- name: "Pre Audit | capture data {{ pre_audit_outfile }}"
|
||||
shell: "tail -2 {{ pre_audit_outfile }}"
|
||||
args:
|
||||
warn: false
|
||||
register: pre_audit
|
||||
changed_when: false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue