mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
clarify environment (#50987)
* clarify environment * it does work on windoez
This commit is contained in:
parent
1b09197244
commit
9793b194b9
2 changed files with 3 additions and 3 deletions
|
@ -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::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue