Ansible Run Analysis

ARA, which is a recursive acronym that stands for Ansible Run Analysis, records Ansible. It is a tool written in Python that records your playbook runs and displays the results in an intuitive web interface. To install it on macOS, I had to use the following command:

$ sudo pip install ara --ignore-installed pyparsing

To install on Ubuntu, I could use just this:

$ sudo pip install ara

Once installed, you should be able to run the following commands to configure your environment to record your Ansible playbook runs:

$ export ara_location=$(python -c "import os,ara; print(os.path.dirname(ara.__file__))")$ export ANSIBLE_CALLBACK_PLUGINS=$ara_location/plugins/callbacks$ export ANSIBLE_ACTION_PLUGINS=$ara_location/plugins/actions ...

Get Learn Ansible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.