forked from ansible-lockdown/RHEL9-CIS
Suggestion for the missing assert parameter
Signed-off-by: Danny Beuker <dannybeuker@proton.me>
This commit is contained in:
parent
f9bcb11114
commit
03d42ba8ce
1 changed files with 1 additions and 0 deletions
|
|
@ -57,6 +57,7 @@
|
||||||
- name: Pre Audit Setup | If audit ensure goss is available
|
- name: Pre Audit Setup | If audit ensure goss is available
|
||||||
when: not prelim_goss_available.stat.exists
|
when: not prelim_goss_available.stat.exists
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
|
that: prelim_goss_available['stat']['exists'] == true
|
||||||
msg: "Audit has been selected: unable to find goss binary at {{ audit_bin }}"
|
msg: "Audit has been selected: unable to find goss binary at {{ audit_bin }}"
|
||||||
|
|
||||||
- name: Pre Audit Setup | Copy ansible default vars values to test audit
|
- name: Pre Audit Setup | Copy ansible default vars values to test audit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue