Commit 264f527c by Michael DeHaan

update environment example

parent 1f93887e
......@@ -14,11 +14,12 @@
vars:
env:
HI: test2
http_proxy=http://proxy.example.com:8080
http_proxy: http://proxy.example.com:8080
tasks:
# here we just define the dictionary directly and use it
# (here $HI is the shell variable as nothing in Ansible will replace it)
- shell: echo $HI
environment:
......@@ -27,6 +28,6 @@
# here we are using the $env variable above
- shell: echo $HI
environment: $env
environment: env
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment