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.
MIT License
905
stars
143
forks
source link
Change the Executor signature to 'Execute(ctx context.Context, command []string, options ...ExecuteOptions)' #122
Change the Executor signature to 'Execute(ctx context.Context, command []string)'
The proposal is to Include the resultsFunc as an option for the Executors and specify the StdoutCallback through a middleware. It will give you fine-grained control over each StdoutCallback method. (Related to #110)
Change the Executor signature to 'Execute(ctx context.Context, command []string)'
The proposal is to Include the resultsFunc as an option for the Executors and specify the StdoutCallback through a middleware. It will give you fine-grained control over each StdoutCallback method. (Related to #110)
The task must be refined.