
Attempting to picture the client as an individual aspect of the workflow diagram made the workflow seem much worse than it actually was. The callback uses the client to send the data to the API. Document it as such. Change-Id: I12795820c269d2aa9a8032c703285b86624ca7fe
989 B
989 B
Architecture and Workflows
Recording data from Ansible
ARA Records Ansible playbooks through an Ansible callback plugin.
- ARA is installed and Ansible is configured to use the callback plugin
- An
ansible-playbook
command is executed - Ansible triggers the callback plugin for every event
(
v2_playbook_on_start
,v2_runner_on_failed
, etc.) - The relevant information is retrieved from the Ansible playbook execution context and is sent to the API server
- The API server validates and serializes the data before storing it the configured database backend
- The API server sends a response back to the API client with the results
- The callback plugin returns, ending the callback hook
- Ansible continues running the playbook until it fails or is completed (back to step 2)