apenella / go-ansible

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How pass argument password to adhoc command?

wahello opened this issue · comments

commented

How pass argument password to adhoc command?

commented

ansibleAdhocOptions.AddExtraVar("ansible_password", "password") works.

@wahello Great to know it!