This Ansible playbook applies a global 'JAVA_TOOL_OPTIONS: -Dlog4j2.formatMsgNoLookups=true' to all users.
This mitigates the CVE-2021-44228 exploit for all JVM apps on the hosts in the inventory
To exec:
ansible-playbook playbook.yml -i inventory