ARA记录责任
ara的Python项目详细描述
ARA记录责任
ara记录了一些容易理解和排除故障的剧本。
ara使用ansible将playbook结果保存到本地或远程数据库 回调插件,并提供一个api来将这些数据集成到工具和接口中。
这个项目提供了ara api和ansible组件。
有关Web客户端界面,请参见ara-web。
快速启动
以下是如何从零开始使用正常的默认设置:
# 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 exportANSIBLE_CALLBACK_PLUGINS="$(python -m ara.setup.callback_plugins)"# Run your playbook as usual ansible-playbook playbook.yml
如果没有出错,你的剧本数据应该保存在本地 数据库位于~/.ara/server/ansible.sqlite。
通过执行^{tt2},您可以通过api浏览这些数据$ 并将浏览器指向http://127.0.0.1:8000/。
就这样!
现场演示
您可以找到由内置的ara_api和ara_webansible部署的实时演示 位于https://api.demo.recordsansible.org和https://web.demo.recordsansible.org的角色。
文档
安装、配置、运行和使用ara的文档 在readthedocs.io上提供。
社区和获得帮助
贡献者
请参阅GitHub上的贡献者。
版权所有
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/>.