diff options
author | Matt Clay <matt@mystile.com> | 2019-03-11 17:18:39 -0700 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2019-03-11 21:43:58 -0700 |
commit | 759e037edcb2f4fc28718a72cc520d3cd572ddf8 (patch) | |
tree | 615c5d393e3ba6a3dc23ecf1f0400d80b40900b6 /test/integration/targets/set_fact/inventory | |
parent | c8c326d88e10d6d0f9ea46824bdcd5305f5412da (diff) | |
download | ansible-759e037edcb2f4fc28718a72cc520d3cd572ddf8.tar.gz |
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/set_fact/inventory')
-rw-r--r-- | test/integration/targets/set_fact/inventory | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/targets/set_fact/inventory b/test/integration/targets/set_fact/inventory index e1a42d86ea..b0c00d327f 100644 --- a/test/integration/targets/set_fact/inventory +++ b/test/integration/targets/set_fact/inventory @@ -1,3 +1,3 @@ [testgroup] -testhost ansible_connection=local -localhost +testhost ansible_connection=local # no connection is actually established with this host +localhost ansible_connection=local ansible_python_interpreter="{{ ansible_playbook_python }}" |