This callback plugin can aid in replicating the set_stats
workflow behavior in Tower
It allows you to dump the stats set with set_stats
to a file, and then use that file with --extra-vars
in subsequent ansible-playbook
calls.
- Download
dump_stats.py
file to acallback_plugins
directory relative to your playbook - Run
ansible-playbook
withANSIBLE_CALLBACK_WHITELIST=dump_stats