added info to ansible_detailed.rst explaining new ansible_python_interpreter functionality

This commit is contained in:
Steven Robertson 2019-10-30 15:05:02 -07:00
parent 4669c8774f
commit bca9d9bf67
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ Noteworthy Differences
..
* The ``ansible_python_interpreter`` variable is parsed using a restrictive
:mod:`shell-like <shlex>` syntax, permitting values such as ``/usr/bin/env
FOO=bar python``, which occur in practice. Ansible `documents this
FOO=bar python`` or ``source /opt/rh/rh-python36/enable && python``, which occur in practice. Jinja2 templating is also supported for complex task-level interpreter settings. Ansible `documents this
<https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html#ansible-python-interpreter>`_
as an absolute path, however the implementation passes it unquoted through
the shell, permitting arbitrary code to be injected.