Very simple Ansible playbook that scan the filesystem for JAR files vulnerable to Log4Shell (CVE-2021-44228).
The result is saved in a CSV file in the local system.
A value for the name of the CSV file must be passed via the local_file
variable.
ansible-playbook --extra-vars "local_file=./jdni_dev.csv" log4j-cve-2021-44228.yml