---
title: Install the reporting callback
description: Connect an Ansible controller to a team in Glodrik.
---

You need ansible-core 2.15 or later, HTTPS access to Glodrik, and a team reporting token. Ask a team administrator to create the token under **Organization → External runs**.

Install the collection on every controller or runner that should report. Your instance serves the collection version it was tested with:

```sh
ansible-galaxy collection install https://glodrik.example.com:8443/api/external/collection
```

Set `GLODRIK_REPORT_URL` and supply `GLODRIK_REPORT_TOKEN` through your secret manager or runner environment. Add `glodrik.report.report` to any callbacks already enabled. You can keep the URL and callback in `ansible.cfg` and supply the token through the environment:

```ini
[defaults]
callbacks_enabled = glodrik.report.report

[callback_glodrik_report]
url = https://glodrik.example.com:8443
```

| Purpose | Environment variable | Setting under `[callback_glodrik_report]` |
| --- | --- | --- |
| HTTPS base URL | `GLODRIK_REPORT_URL` | `url` |
| Team reporting token | `GLODRIK_REPORT_TOKEN` | Environment only |
| Private CA file (PEM) | `GLODRIK_REPORT_CA_FILE` | `ca_file` |
| TLS certificate verification, on by default | `GLODRIK_REPORT_VALIDATE_CERTS` | `validate_certs` |
| Request timeout, 10 seconds by default | `GLODRIK_REPORT_TIMEOUT` | `timeout` |
| Final delivery wait, 60 seconds by default | `GLODRIK_REPORT_FLUSH_TIMEOUT` | `flush_timeout` |

Keep TLS verification enabled. A private CA file takes the place of the system trust store for the callback. Use `ansible-doc -t callback glodrik.report.report` to inspect the installed options.

Run a test playbook and look for the reported-run link at the end of Ansible's output.
