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.
8 lines
224 B
Text
8 lines
224 B
Text
[local]
|
|
testhost ansible_connection=local
|
|
testhost2 ansible_connection=local
|
|
testhost3 ansible_ssh_host=127.0.0.3
|
|
testhost4 ansible_ssh_host=127.0.0.4
|
|
|
|
[local:vars]
|
|
ansible_python_interpreter="{{ ansible_playbook_python }}"
|