mirror of
https://github.com/ansible/ansible.git
synced 2026-08-04 08:03:41 +02: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 }}"
|