teslamotors / ansible_puller

Ansible daemon for massively-scaleable Ansible
MIT License
125 stars 33 forks source link

Enable Better Run Introspection #5

Closed dfinninger closed 4 years ago

dfinninger commented 4 years ago

Debugging through the puller can be a pain. The JSON output is hard to visibly parse and figure out what went wrong.

These changes allow streaming the the Ansible Stdout/Stderr during the run when Debug mode is enabled. This also introduces a --once flag that will not start the webserver so that you can do a quick debug run without needing to mess with the systemd-controlled process.