Libraries Index
Programming libraries for integrating Ansible automation into applications.
Go Libraries
go.ansible
Go module for programmatically executing Ansible playbooks with Galaxy integration and secure credential management.
Key Features:
Execute Ansible playbooks from Go applications
Automatic Galaxy role/collection installation
Secure SSH key and Vault password handling
Context-based execution with cancellation support
Comprehensive error handling with wrapped errors
Installation:
go get github.com/arillso/go.ansible
Quick Start:
pb := ansible.NewPlaybook()
pb.Config.Playbooks = []string{"site.yml"}
pb.Config.Inventories = []string{"inventory.yml"}
err := pb.Exec(context.Background())
Documentation: https://pkg.go.dev/github.com/arillso/go.ansible
Repository: https://github.com/arillso/go.ansible
See also
Collection Index - Ansible Collections
Container Index - Container Images
GitHub Actions Index - GitHub Actions