Skip to main content

ARA Records Ansible

Project description

ARA Records Ansible

ARA Records Ansible playbooks and makes them easier to understand and troubleshoot.

doc/source/_static/ara-with-icon.png

ARA saves playbook results to a local or remote database by using an Ansible callback plugin and provides an API to integrate this data in tools and interfaces.

This project provides the ARA API as well as the Ansible components.

For the web client interface, see ara-web.

Quickstart

Here’s how you can get started from scratch with sane defaults:

# Create a python3 virtual environment and activate it so we don't conflict
# with system or distribution packages
python3 -m venv ~/.ara/virtualenv
source ~/.ara/virtualenv/bin/activate

# Install Ansible, ARA and it's API server dependencies
pip install ansible ara[server]

# Tell Ansible to use the ARA callback plugin
export ANSIBLE_CALLBACK_PLUGINS="$(python -m ara.setup.callback_plugins)"

# Run your playbook as usual
ansible-playbook playbook.yml

If nothing went wrong, your playbook data should have been saved in a local database at ~/.ara/server/ansible.sqlite.

You can browse this data through the API by executing ara-manage runserver and pointing your browser at http://127.0.0.1:8000/.

That’s it !

Live demos

You can find live demos deployed by the built-in ara_api and ara_web Ansible roles at https://api.demo.recordsansible.org and https://web.demo.recordsansible.org.

Documentation

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

Community and getting help

Contributors

See contributors on GitHub.

Project details


Release history Release notifications | RSS feed

This version

1.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ara-1.0.1.tar.gz (559.7 kB view details)

Uploaded Source

Built Distribution

ara-1.0.1-py2.py3-none-any.whl (69.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ara-1.0.1.tar.gz.

File metadata

  • Download URL: ara-1.0.1.tar.gz
  • Upload date:
  • Size: 559.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.2

File hashes

Hashes for ara-1.0.1.tar.gz
Algorithm Hash digest
SHA256 13f5dd0a98366d4594e8cb18f051a18474f882fa72b947730f781a7d6b895f2f
MD5 ac685a75a1b839f48825dc61b6d95d11
BLAKE2b-256 0c63c9babbcd069b4e9a73ad4c6de3a8abc5ddd6303333f48709a410ed25f6a9

See more details on using hashes here.

File details

Details for the file ara-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: ara-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 69.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.2

File hashes

Hashes for ara-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 241b70d606406947a7d7a7ff7f520e710f7d293f7b723209aae1b5ca7b397468
MD5 46eb1b7cdad50794d160237446bf3c39
BLAKE2b-256 c94e0bab20c5011ff757b22f2e934039bbcc66d7c5432417c758433edfd2e372

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page