ara

ARA Records Ansible and makes it easier to understand and troubleshoot.

https://github.com/ansible-community/ara

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.0%) to scientific vocabulary

Keywords

ansible api ara django django-rest-framework interface python reporting
Last synced: 6 months ago · JSON representation

Repository

ARA Records Ansible and makes it easier to understand and troubleshoot.

Basic Info
  • Host: GitHub
  • Owner: ansible-community
  • License: gpl-3.0
  • Language: Python
  • Default Branch: master
  • Homepage: https://ara.recordsansible.org
  • Size: 36.4 MB
Statistics
  • Stars: 1,948
  • Watchers: 64
  • Forks: 181
  • Open Issues: 130
  • Releases: 0
Topics
ansible api ara django django-rest-framework interface python reporting
Created over 9 years ago · Last pushed 10 months ago
Metadata Files
Readme Contributing License

README.md

ARA Records Ansible

ARA Records Ansible and makes it easier to understand and troubleshoot.

logo

It is another recursive acronym with a focus on simplicity.

About ara

ara provides Ansible reporting by recording ansible and ansible-playbook commands regardless of how and where they run:

  • from most Linux distributions and even on Mac OS (as long as python >= 3.8 is available)
  • from tools that run Ansible like ansible-(pull|test|runner|navigator), AWX & Automation Controller (Tower), Molecule and Semaphore
  • from a terminal, a script or by hand
  • from a laptop, desktop, server, virtual machine, container or execution environment
  • from CI/CD platforms such as Jenkins, Rundeck and Zuul
  • from git forges like GitHub, GitLab, Gitea & Forgejo

The recorded results are available via an included CLI, a REST API as well as a self-hosted, local-first web reporting interface.

A recorded demo of the web interface is included in the documentation.

How it works

ARA Records Ansible results to SQLite, MySQL and PostgreSQL databases with a standard callback plugin.

This plugin gathers data as Ansible runs and sends it to a Django REST API server:

recording-workflow

Requirements

  • Any recent Linux distribution or Mac OS with python >=3.8 available
  • The ara package (containing the Ansible plugins) must be installed for the same python interpreter as Ansible itself

Getting started

For production use, consider learning about best practices, enabling authentication and ignoring what doesn't need to be recorded.

Recording playbooks without an API server

ara records to a local sqlite database by default and does not require a persistent server:

```bash

Install ansible (or ansible-core) with ara (including API server dependencies)

python3 -m pip install --user ansible "ara[server]"

Configure Ansible to enable ara

export ANSIBLECALLBACKPLUGINS="$(python3 -m ara.setup.callback_plugins)"

Run an Ansible playbook as usual

ansible-playbook playbook.yml

Check out the CLI

ara playbook list ara host list

or the UI at http://127.0.0.1:8000

ara-manage runserver ```

getting-started

Recording playbooks with an API server

The server includes a REST API as well a web reporting interface.

Consider running one to aggregate playbook runs from different tools, jobs or servers into a single dashboard that can be shared with friends.

Get started with the ara_api role or with the container images published by the project on DockerHub and quay.io:

```bash

Create a directory for a volume to store settings and a sqlite database

mkdir -p ~/.ara/server

Start an API server with docker from the image on DockerHub:

docker run --name ara-api --detach --tty \ --volume ~/.ara/server:/opt/ara -p 8000:8000 \ docker.io/recordsansible/ara-api:latest

or with podman from the image on quay.io:

podman run --name ara-api --detach --tty \ --volume ~/.ara/server:/opt/ara -p 8000:8000 \ quay.io/recordsansible/ara-api:latest ```

Once the server is running, ara must be installed and configured to send data to it:

```bash

Install ansible (or ansible-core) with ara (excluding API server dependencies)

python3 -m pip install --user ansible ara

Configure Ansible to enable ara

export ANSIBLECALLBACKPLUGINS="$(python3 -m ara.setup.callback_plugins)"

Set up the ara callback to know where the API server is located

export ARAAPICLIENT="http" export ARAAPISERVER="http://127.0.0.1:8000"

Run an Ansible playbook as usual

ansible-playbook playbook.yml

Check out the CLI

ara playbook list ara host list

Or browse http://127.0.0.1:8000 (running from the container)

```

Live demo

A live demo is deployed with the ara Ansible collection from Ansible Galaxy.

It is available at https://demo.recordsansible.org.

Documentation and changelog

Documentation for installing, configuring, running and using ara is available on ara.readthedocs.io.

Common issues may be resolved by reading the troubleshooting guide.

Changelog and release notes are available within the repository's git tags as well as the documentation.

Community and getting help

  • Bugs, issues and enhancements: https://codeberg.org/ansible-community/ara/issues
  • IRC: #ara on Libera.chat
  • Matrix: Bridged from IRC via #ara:libera.chat
  • Slack: Bridged from IRC via https://arecordsansible.slack.com
  • Website and blog: https://ara.recordsansible.org
  • ~~Twitter: https://twitter.com/recordsansible~~
  • Mastodon: https://fosstodon.org/@ara

Contributing

Contributions to the project are welcome and appreciated !

Get started with the contributor's documentation.

Authors

Code contributions to the project can be viewed from the git log or on Codeberg.

The ara parrot logo was designed and contributed by Jason E. Rist.

Copyright

``` Copyright (c) 2025 The ARA Records Ansible authors

ARA Records Ansible is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ARA Records Ansible is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with ARA Records Ansible. If not, see http://www.gnu.org/licenses/. ```

Owner

  • Name: Community managed Ansible repositories
  • Login: ansible-community
  • Kind: organization

Collection of community-driven Ansible repositories

GitHub Events

Total
  • Issues event: 31
  • Watch event: 88
  • Issue comment event: 134
  • Push event: 8
  • Pull request review comment event: 2
  • Pull request review event: 2
  • Pull request event: 29
  • Fork event: 10
  • Create event: 2
Last Year
  • Issues event: 31
  • Watch event: 88
  • Issue comment event: 134
  • Push event: 8
  • Pull request review comment event: 2
  • Pull request review event: 2
  • Pull request event: 29
  • Fork event: 10
  • Create event: 2

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 837
  • Total Committers: 43
  • Avg Commits per committer: 19.465
  • Development Distribution Score (DDS): 0.569
Past Year
  • Commits: 30
  • Committers: 9
  • Avg Commits per committer: 3.333
  • Development Distribution Score (DDS): 0.267
Top Committers
Name Email Commits
David Moreau Simard d****d@r****m 361
David Moreau Simard m****i@d****m 343
Florian Apolloner f****n@a****u 42
Guillaume Vincent g****t@r****m 20
Christoph Hille 3****1 12
DataHearth a****l@a****t 5
OpenStack Project Creator o****a@l****g 4
Paul Arthur p****r@f****m 4
melissaml m****i@9****t 3
Devon Mar d****m@m****a 3
Deividas Vadoklis d****s@a****t 2
Laurent Dumont l****t@g****m 2
Tristan Cacqueray t****u@r****m 2
Michal Arbet m****t@u****o 2
Matt Bond m****t@c****o 2
Juan Calderon-Perez 8****y 2
Jean-Philippe Evrard j****e@e****e 2
DanOPT d****1@g****m 1
Christian Berendt b****t@b****e 1
Alex a****x@a****e 1
Stefan Betz s****z@c****m 1
Sagi Shnaidman s****m@r****m 1
Ricardo Marques m****7@g****m 1
Rath Pascal 5****s 1
Pierre GINDRAUD p****d@g****m 1
Patrick Hemmer p****r@g****m 1
Mike Kazantsev m****d@g****m 1
Michael F. Schönitzer m****l@s****e 1
Matt Phillips m****1@b****t 1
Karl O. Pinc k****p@k****m 1
and 13 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 129
  • Total pull requests: 113
  • Average time to close issues: 3 months
  • Average time to close pull requests: 3 months
  • Total issue authors: 64
  • Total pull request authors: 22
  • Average comments per issue: 4.21
  • Average comments per pull request: 5.58
  • Merged pull requests: 91
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 23
  • Pull requests: 26
  • Average time to close issues: 12 days
  • Average time to close pull requests: about 1 month
  • Issue authors: 15
  • Pull request authors: 6
  • Average comments per issue: 1.3
  • Average comments per pull request: 4.08
  • Merged pull requests: 18
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • dmsimard (39)
  • hille721 (7)
  • Hipska (4)
  • bendem (4)
  • rptaylor (4)
  • nlvw (3)
  • module0x90 (3)
  • Alvaro-Campesino (2)
  • d3al (2)
  • NiceRath (2)
  • christianwohlgemuth (2)
  • apollo13 (2)
  • evgeni (2)
  • rntbrgtt (2)
  • phemmer (2)
Pull Request Authors
  • dmsimard (84)
  • hille721 (9)
  • apollo13 (4)
  • superstes (4)
  • Frazew (2)
  • bendem (2)
  • Nudin (2)
  • kpinc (2)
  • tbreeds (2)
  • mk-fg (2)
  • alxgu (2)
  • betrotle (2)
  • gaby (2)
  • osulli (2)
  • erik-overdahl (2)
Top Labels
Issue Labels
enhancement (18) UI (17) bug (14) plugins (10) packaging (10) help wanted (8) built-in server/offline client (5) docs (5) database (5) feedback (3) api (3) performance (2) 0.x (1) client (1) operations/deployment (1) cli (1) config (1) compatibility and upgrades (1) meta (1)
Pull Request Labels

Dependencies

doc/requirements.txt pypi
  • Django >=2.1.5,<3.0
  • cliff *
  • django-cors-headers *
  • django-filter *
  • django-health-check *
  • djangorestframework >=3.9.1
  • dynaconf *
  • pbr *
  • pygments *
  • sphinx >=1.4
  • sphinx-rtd-theme *
  • sphinxcontrib-programoutput *
  • tzlocal *
  • whitenoise *
requirements.txt pypi
  • cliff *
  • pbr *
  • requests >=2.14.2
test-requirements.txt pypi
  • bandit >=1.1.0
  • black ==22.3.0
  • coverage *
  • factory-boy *
  • flake8 *
  • isort *
setup.py pypi