mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
commit
23bcb64758
1 changed files with 3 additions and 3 deletions
|
@ -597,7 +597,7 @@ The environment can also be stored in a variable, and accessed like so::
|
||||||
# here we make a variable named "env" that is a dictionary
|
# here we make a variable named "env" that is a dictionary
|
||||||
vars:
|
vars:
|
||||||
proxy_env:
|
proxy_env:
|
||||||
http_proxy=http://proxy.example.com:8080
|
http_proxy: http://proxy.example.com:8080
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
|
@ -613,8 +613,8 @@ to define an environment hash might be a group_vars file, like so::
|
||||||
ntp_server: ntp.bos.example.com
|
ntp_server: ntp.bos.example.com
|
||||||
backup: bak.bos.example.com
|
backup: bak.bos.example.com
|
||||||
proxy_env:
|
proxy_env:
|
||||||
http_proxy=http://proxy.bos.example.com:8080
|
http_proxy: http://proxy.bos.example.com:8080
|
||||||
https_proxy=http://proxy.bos.example.com:8080
|
https_proxy: http://proxy.bos.example.com:8080
|
||||||
|
|
||||||
Getting values from files
|
Getting values from files
|
||||||
`````````````````````````
|
`````````````````````````
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue