Fix integration tests with custom inventory.

All inventory hosts to which a connection is actually established
should declare ansible_python_interpreter to avoid interpreter
auto-discovery, as that may select the wrong interpreter.
This commit is contained in:
Matt Clay
2019-03-11 17:18:39 -07:00
parent c8c326d88e
commit 759e037edc
14 changed files with 24 additions and 10 deletions

View File

@@ -4,3 +4,4 @@ paramiko_ssh-no-pipelining ansible_ssh_pipelining=false
[paramiko_ssh:vars]
ansible_host=localhost
ansible_connection=paramiko_ssh
ansible_python_interpreter="{{ ansible_playbook_python }}"