mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
759e037edc
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.
3 lines
196 B
Text
3 lines
196 B
Text
[testgroup]
|
|
testhost ansible_connection=local # no connection is actually established with this host
|
|
localhost ansible_connection=local ansible_python_interpreter="{{ ansible_playbook_python }}"
|