summaryrefslogtreecommitdiff
path: root/test/integration/targets/set_fact/inventory
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2019-03-11 17:18:39 -0700
committerMatt Clay <matt@mystile.com>2019-03-11 21:43:58 -0700
commit759e037edcb2f4fc28718a72cc520d3cd572ddf8 (patch)
tree615c5d393e3ba6a3dc23ecf1f0400d80b40900b6 /test/integration/targets/set_fact/inventory
parentc8c326d88e10d6d0f9ea46824bdcd5305f5412da (diff)
downloadansible-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/inventory4
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 }}"