Ansible log_path to also include the command line that invoked ansible-playbook?

Question - Is it also possible for Ansible log_path to log the actual command that was used to invoke the ansible-playbook?

It does a great job of tracking tasks and status, but I can’t see the command itself. Would be helpful to know if a tag was skipped, command line var was passed, or other command line change that isn’t immediately clear by the output.

Thanks

I recommend taking a look at ARA: Ansible Run Analysis
https://github.com/openstack/ara

Ansible 1.9 did log the command, but around 2.x it stopped logging the commands.

See old post for comparison examples. https://groups.google.com/forum/#!topic/ansible-project/ZEG-rnFiHoE