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
Ansibleplaybook ssh become root with password #161
New example ansibleplaybook-ssh-become-root-with-password/, showcasing how to execute a playbook that requires to become root user and set the user password through the variable _ansible_sudopass.
New example ansibleplaybook-ssh-become-root-with-password/, showcasing how to execute a playbook that requires to become root user and set the user password through the variable _ansible_sudopass.
This example has been motivated by https://github.com/apenella/go-ansible/issues/160