In the future these types of questions should probably go to ansible-devel,
not ansible-project.
You can do this by manipulating the "constant".
import ansible.constants as C
C.HOST_KEY_CHECKING = False
On Wednesday, December 17, 2014, wrote:
> Hello everyone,
>
> I'm trying to trigger Ansibl
Hello everyone,
I'm trying to trigger Ansible run from a Python application and I can't
disable host key checking.
I've already tried:
- passing parameter via extra_vars in the same manner as from CLI, and then
transforming it into a dictionary the same way as in ansible-playbook
- assembling