Container images for running ARA's API server | https://codeberg.org/ansible-community/ara
1M+
Container images to run an ARA API server | https://codeberg.org/ansible-community/ara
# create a directory for settings and the sqlite database
mkdir -p ~/.ara/server
# with docker:
docker run --name ara-server --detach --tty \
--volume ~/.ara/server:/opt/ara -p 8000:8000 \
quay.io/recordsansible/ara-api:latest
# or podman:
podman run --name ara-server --detach --tty \
--volume ~/.ara/server:/opt/ara -p 8000:8000 \
quay.io/recordsansible/ara-api:latest
Once the server is running, Ansible playbook results can be sent to it by installing and configuring the ARA callback plugin where you run Ansible:
# Install Ansible and ARA (without API server dependencies) for the current user
python3 -m pip install --user ansible ara
# Configure Ansible to use the ARA callback plugin
export ANSIBLE_CALLBACK_PLUGINS="$(python3 -m ara.setup.callback_plugins)"
# Set up the ARA callback to know where the API server is located
export ARA_API_CLIENT="http"
export ARA_API_SERVER="http://127.0.0.1:8000"
# Run an Ansible playbook
ansible-playbook playbook.yaml
Data will be available on the API server in real time as the playbook progresses and completes.
Read more about how these images are built and how you can run them in the documentation: https://ara.readthedocs.io/en/latest/container-images.html
Content type
Image
Digest
sha256:9dfd6e18f…
Size
118 MB
Last updated
2 months ago
docker pull recordsansible/ara-api