diff options
author | Matt Clay <matt@mystile.com> | 2019-03-12 01:18:39 +0100 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2019-03-12 05:43:58 +0100 |
commit | 759e037edcb2f4fc28718a72cc520d3cd572ddf8 (patch) | |
tree | 615c5d393e3ba6a3dc23ecf1f0400d80b40900b6 /test/integration/targets/connection_ssh | |
parent | Use unicode string for auto interpreter warnings (#53671) (diff) | |
download | ansible-759e037edcb2f4fc28718a72cc520d3cd572ddf8.tar.xz ansible-759e037edcb2f4fc28718a72cc520d3cd572ddf8.zip |
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.
Diffstat (limited to 'test/integration/targets/connection_ssh')
-rw-r--r-- | test/integration/targets/connection_ssh/test_connection.inventory | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/targets/connection_ssh/test_connection.inventory b/test/integration/targets/connection_ssh/test_connection.inventory index 0f0ad23ebb..a1a4ff1e49 100644 --- a/test/integration/targets/connection_ssh/test_connection.inventory +++ b/test/integration/targets/connection_ssh/test_connection.inventory @@ -4,3 +4,4 @@ ssh-no-pipelining ansible_ssh_pipelining=false [ssh:vars] ansible_host=localhost ansible_connection=ssh +ansible_python_interpreter="{{ ansible_playbook_python }}" |