On Sat, 29 Apr 2023 00:56:33 -0700 (PDT) Haji Hogson <poppinpudd...@gmail.com> wrote:
> automatically discover the ... appropriate Python interpreter ... > /usr/bin/python3 if available ... and fall back to automatic > discovery otherwise. See the configuration parameter INTERPRETER_PYTHON_FALLBACK https://docs.ansible.com/ansible/latest/reference_appendices/config.html#interpreter-python-fallback You can put it into the inventory file ansible_interpreter_python_fallback=['/usr/bin/python3','/usr/bin/python'] See also the configuration parameter INTERPRETER_PYTHON https://docs.ansible.com/ansible/latest/reference_appendices/config.html#interpreter-python The fallback will be used if INTERPRETER_PYTHON is not available. "The fallback behavior will issue a warning that the interpreter should be set explicitly..." You can chose a discovery mode (default auto). -- Vladimir Botka -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/20230429120033.54c13e8c%40gmail.com.
pgphg99Ugi820.pgp
Description: OpenPGP digital signature