mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-20 15:51:05 +00:00
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.
4 lines
196 B
Plaintext
4 lines
196 B
Plaintext
[testgroup]
|
|
testhost ansible_connection=local # no connection is actually established with this host
|
|
localhost ansible_connection=local ansible_python_interpreter="{{ ansible_playbook_python }}"
|