RETIRED, this project has moved to https://github.com/ansible-community/ara
Go to file
David Moreau Simard 9df768c413 Add missing selinux policy package for running gunicorn
Running gunicorn out of a virtualenv in a home directory requires
some extra selinux policies.

Fixes: https://github.com/ansible-community/ara/issues/49
Change-Id: I027d148d846e7add391b28e805f67cbe312dcde0
2019-06-04 20:48:05 +00:00
.zuul.d roles: use virtualenv_command instead of virtualenv_python 2019-05-21 13:37:55 -04:00
ara Add missing 'changed' and 'ignore_error' to results 2019-05-30 16:40:11 -04:00
doc/source General clean up the API server documentation 2019-06-02 19:48:00 -04:00
playbooks Streamline integration test role and make it easier to run 2019-03-26 12:54:46 -04:00
roles Add missing selinux policy package for running gunicorn 2019-06-04 20:48:05 +00:00
tests roles: use virtualenv_command instead of virtualenv_python 2019-05-21 13:37:55 -04:00
.black.toml Rename pyproject.toml to .black.toml to address pep517 2019-04-24 21:17:34 -04:00
.editorconfig 💥 first commit 2018-03-29 12:36:14 -04:00
.gitignore Also ignore .venv directories. 2019-05-13 21:35:09 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:49:48 +00:00
LICENSE 💥 first commit 2018-03-29 12:36:14 -04:00
manage.py Make manage.py executable 2019-05-21 16:56:59 -04:00
README.rst Update README 2019-06-02 21:36:35 -04:00
requirements.txt Add a comment in requirements.txt about location of server deps 2019-06-02 21:19:29 -04:00
setup.cfg Move github references from openstack/ara to ansible-community/ara 2019-05-21 11:08:57 -04:00
setup.py Bootstrap the repository with the basic machinery (#1) 2018-03-29 12:36:22 -04:00
test-requirements.txt Updated black dependency. 2019-05-13 21:32:58 +02:00
tox.ini Make API server deps optional, move them to extras 2019-05-03 16:01:30 -04:00

ARA Records Ansible

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

image

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.

Copyright

Copyright (c) 2019 Red Hat, Inc.

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/>.