mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
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:
@@ -1,5 +1,5 @@
|
||||
[local]
|
||||
testhost ansible_connection=local
|
||||
testhost ansible_connection=local ansible_python_interpreter="{{ ansible_playbook_python }}"
|
||||
|
||||
[nonexistent]
|
||||
testhost5 ansible_host=169.254.199.200
|
||||
testhost5 ansible_host=169.254.199.200 # no connection is ever established with this host
|
||||
|
||||
Reference in New Issue
Block a user