Hello everyone,
I’m sorry if this has already been answered/solved, I couldn’t find it.
I would like to log the Ansible-Playbook execution history if the playbook executes any command in the remote host by ansible.builtin.command module or shell module. This is the requirement from the security auditor.
For example:
ansible.builtin.command:
cmd: “/tmp/test.sh”
The above task executes the BASH script in the remote host. Does AWX have a feature that can record this action?
I am very new to Ansible, any help is appreciated!
Thanks,