Update docs/ansible_detailed.rst

Co-Authored-By: Jacob Floyd <cognifloyd@gmail.com>
pull/658/head
Steven Robertson 5 years ago committed by GitHub
parent 05f74e3b30
commit 2d7e019dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -243,7 +243,9 @@ Noteworthy Differences
.. ..
* The ``ansible_python_interpreter`` variable is parsed using a restrictive * The ``ansible_python_interpreter`` variable is parsed using a restrictive
:mod:`shell-like <shlex>` syntax, permitting values such as ``/usr/bin/env :mod:`shell-like <shlex>` syntax, permitting values such as ``/usr/bin/env
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 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>`_ <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 as an absolute path, however the implementation passes it unquoted through
the shell, permitting arbitrary code to be injected. the shell, permitting arbitrary code to be injected.

Loading…
Cancel
Save