From 19082f7b2079f3376970d6860928254720bf2e5c Mon Sep 17 00:00:00 2001 From: Cliffano Subagio Date: Thu, 28 Feb 2013 10:39:08 +1100 Subject: [PATCH] Fix proxy env format The incorrect format (e.g. http_proxy=http://proxy.bos.example.com:8080) gave this error: "environment must be a dictionary". --- docsite/rst/playbooks2.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docsite/rst/playbooks2.rst b/docsite/rst/playbooks2.rst index 2d6f7707295..c3a7302ce5d 100644 --- a/docsite/rst/playbooks2.rst +++ b/docsite/rst/playbooks2.rst @@ -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 vars: proxy_env: - http_proxy=http://proxy.example.com:8080 + http_proxy: http://proxy.example.com:8080 tasks: @@ -613,8 +613,8 @@ to define an environment hash might be a group_vars file, like so:: ntp_server: ntp.bos.example.com backup: bak.bos.example.com proxy_env: - http_proxy=http://proxy.bos.example.com:8080 - https_proxy=http://proxy.bos.example.com:8080 + http_proxy: http://proxy.bos.example.com:8080 + https_proxy: http://proxy.bos.example.com:8080 Getting values from files `````````````````````````