{"repo":"apenella/go-ansible","free":true,"listed":false,"github":"https://github.com/apenella/go-ansible","clone":"git clone https://github.com/apenella/go-ansible.git","description":"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.","language":"Go","stars":1117,"topics":["ansible","golang","golang-library","ansible-playbook"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"go-ansible Overview Go-ansible is a Go library for executing Ansible commands (such as ansible-playbook , ansible-inventory , ansible-galaxy , and ansible ) directly from Go applications. It acts as a wrapper around the Ansible CLI, enabling seamless integration of Ansible automation into Go projects. Why go-ansible? Go-ansible was created to address the challenge of managing complex Ansible playbooks that require a large number of extra variables. Rather than reimplementing Ansible’s logic, the library provides an abstraction layer over the existing Ansible commands, streamlining their execution from a Go application. Originally, the library was a wrapper around the ansible-playbook command and was tightly coupled with the Stevedore project. However, thanks to the contributions, feedback, and advice from the community, it has evolved into a general-purpose solution. Today, go-ansible supports the execution of various commands, including ansible-playbook , ansible , and ansible-galaxy , and allows fine-grained control over settings and output management to accommodate diverse use cases. Key Features - Ansible Command Execution : Execute Ansible commands, including ansible-playbook , ansible , ansible-galaxy , and ansible-inventory , directly from Go applications. - Workflow Orchestration : Chain multiple Ansible executions into a workflow, allowing you to run commands sequentially (e.g., installing roles/collections and executing playbooks) in a single workflow. - Flexible Co","default_branch":null,"files":null,"tree":[],"storefront":"/r/apenella","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apenella/go-ansible/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}