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 On Monday, July 10, 2017 at 4:39:31 PM UTC-4, [email protected] wrote: > > Question - Is it also possible for Ansible log_path > <http://docs.ansible.com/ansible/intro_configuration.html#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 > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4346f397-9934-4c0d-a44f-65ddf9bb3dca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
