ansible-opnsense

Ansible Collection to manage OPNsense firewalls using their API

A new way for AI to search for data
View on GitHub
507GitHub stars
1,240commits on latest
105forks
26.1.11latest release, 2026-07-04

Python 98.9%, Shell 1.1%, Makefile 0% · created 2022-08-24 · last push 2026-10-26

What XERJ indexed

Snapshot

Whole repository

The whole repository at commit 684c96ec37 (2026-10-24). latest is 26 commits ahead.

Selected work

“add firewall categories to alias and rules”. 11 files, 280 lines in plugins.

Licence

The repository

GPL-3.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

The author agreed by email on 2026-10-29. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: approach only

ansible-collectionansible-modulesautomationfirewall-managementiacinfrastructure-as-codeopnsenseopnsense-firewall

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported GPL-3.0 for O-X-L/ansible-opnsense on 2026-10-31, and the LICENSE file at commit 684c96ec37 was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Philipp Ahlner (@ahlner) has 1 selected repository on the hub.

Using XERJ with ansible-opnsense

The prompt

Paste it into your AI agent. It clones O-X-L/ansible-opnsense at the pinned commit and indexes it on your machine.

Search the GitHub repository O-X-L/ansible-opnsense with XERJ (https://hub.xerj.org/corpus/o-x-l--ansible-opnsense).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/O-X-L/ansible-opnsense ansible-opnsense && git -C ansible-opnsense checkout 684c96ec3747871518cfa0d53eb6a7020290bc6b
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./ansible-opnsense --url http://127.0.0.1:9200 --prefix ansible-opnsense --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: GPL-3.0. Read it for the approach only, do not copy code.

Related

Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.