821b0fe880
This allows users to query the API like so: /api/v1/plays?name=deploy The search above would return plays with "deploy" in the name of the play. Change-Id: I88cabd33c0a7d42f36eccc7a556c71749f3ff616 |
||
---|---|---|
.github/ISSUE_TEMPLATE | ||
.zuul.d | ||
ara | ||
doc | ||
playbooks | ||
roles | ||
tests | ||
.black.toml | ||
.editorconfig | ||
.gitignore | ||
.gitreview | ||
LICENSE | ||
manage.py | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
ARA Records Ansible
ARA Records Ansible playbooks and makes them easier to understand and troubleshoot.
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 ARA's Ansible plugins, the REST API server as well as simple built-in web interfaces to browse the recorded data.
A stateless javascript client interface is provided by a different project, ara-web.
Quickstart
Here's how you can get started from scratch with sane defaults with python>=3.5:
# Install ARA and Ansible for the current user
python3 -m pip install --user ansible "ara[server]"
# Tell Ansible to use the ARA callback plugin
export ANSIBLE_CALLBACK_PLUGINS="$(python3 -m ara.setup.callback_plugins)"
# Run your playbook
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 take a look at the recorded data by running
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
- Bugs, issues and enhancements: https://github.com/ansible-community/ara/issues
- IRC: #ara on Freenode
- Slack: https://arecordsansible.slack.com (invitation link)
- Website and blog: https://ara.recordsansible.org
- Twitter: https://twitter.com/arecordsansible
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/>.