apenella/go-ansible
Go-ansible is a Go package that enables the execution of ansible-playbook or ansible commands directly from Golang applications. It supports a wide range of options for each command, enabling smooth integration of Ansible functionality into your projects. observed · 2026-09-03
Health v2 · maintenance only
85/100
- Activity 100
- Release rhythm 56
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 23
- age_days: 2648
- days_rel: 293
- days_push: 0
- n_releases_24m: 6
Adoption not part of the score
1118 stars · 146 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
go-ansible is a Go library that wraps the Ansible CLI so Go applications can execute commands like ansible-playbook, ansible, ansible-galaxy, and ansible-inventory. It supports workflow chaining, vault secrets, flexible configuration, and extensible output handling.
Use cases
- run ansible playbooks from a go application
- execute ansible commands programmatically in golang
- chain ansible-galaxy installs and playbook runs in a workflow
- manage ansible vault secrets from go code
- capture ansible output as json in a go service
- build a custom automation tool on top of ansible
When to choose
- you are building a Go application that needs to drive Ansible automation
- you need to orchestrate multiple Ansible commands sequentially from Go
- you want structured (JSON) handling of Ansible command output
- you need programmatic control over Ansible environment variables and vault passwords
When to avoid
- you just need to run Ansible from shell scripts or CI pipelines
- you want to reimplement Ansible's logic natively in Go rather than wrapping the CLI
- your project is not in Go and you can invoke Ansible directly
- you need an Ansible replacement rather than a wrapper
Facets
library · maturity active
workflow-automation developer-tools configuration-management deployment developer-tools infrastructure-as-code go windows cli ansible ansible-playbook wrapper provisioning infrastructure-automation vault executor automation devops linux macos
1 source
- readme: https://github.com/apenella/go-ansible · fetched 2026-09-03 · dedf8273eb17
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| apenella/go-ansible | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="apenella/go-ansible")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem