Suggestion for the missing assert parameter

Signed-off-by: Danny Beuker <dannybeuker@proton.me>
This commit is contained in:
Danny Beuker 2025-09-22 09:57:55 +02:00
parent f9bcb11114
commit 03d42ba8ce
No known key found for this signature in database
GPG key ID: D8C3BF033BC1677F

View file

@ -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