Go library#
Libraries maintained by arillso.
Library |
Release |
Purpose |
|---|---|---|
|
Go package that builds and runs |
go get github.com/arillso/go.ansible/v2@v2.0.0
pb := ansible.NewPlaybook()
pb.Config.Playbooks = []string{"site.yml"}
pb.Config.Inventories = []string{"inventory.yml"}
err := pb.Exec(context.Background())
Source: https://github.com/arillso/go.ansible ยท API reference: https://pkg.go.dev/github.com/arillso/go.ansible/v2
See also
Collection Index - Ansible Collections
Container image - Container Images
GitHub Action - GitHub Actions