interpreter_python
The setting that controls how Ansible finds the Python interpreter on each managed node.
In more detail
The default, auto, discovers a suitable Python and warns about what it chose; auto_silent does the same without the warning. A host or group can override it with the ansible_python_interpreter variable.
Example
interpreter_python = auto_silentRelated terms
- Python — A popular general-purpose programming language known for readable code and a large standard library.
- managed node — A machine that Ansible configures; it needs only a way in, normally SSH, and a Python interpreter, not Ansible itself.
- ansible.cfg — Ansible's INI-format settings file; a copy in the project directory sets options such as the inventory location and forks for everyone who runs there.
Taught in
- Performance, Forks And Best Practices — Ansible Configuration Management at Scale