clarify environment (#50987)

* clarify environment

* it does work on windoez
This commit is contained in:
Brian Coca 2019-01-23 14:54:05 -05:00 committed by Alicia Cozine
commit 9793b194b9
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ It is quite possible that you may need to get package updates through a proxy, o
updates through a proxy and access other packages not through a proxy. Or maybe a script you might wish to
call may also need certain environment variables set to run properly.
Ansible makes it easy for you to configure your environment by using the 'environment' keyword. Here is an example::
Ansible makes it easy for you to configure the remote execution environment by using the 'environment' keyword. Here is an example::
- hosts: all
remote_user: root
@ -114,7 +114,7 @@ You might also want to simply specify the environment for a single task::
PATH: '{{ rbenv_root }}/bin:{{ rbenv_root }}/shims:{{ rbenv_plugins }}/ruby-build/bin:{{ ansible_env.PATH }}'
.. note::
``environment:`` is not currently supported for Windows targets
``environment:`` does not affect Ansible itself, ONLY the context of the specific task action and this does not include Ansible's own configuration settings.
.. seealso::