From 7dd95e43a431234bd0dd6bdeed1838c301d1826f Mon Sep 17 00:00:00 2001 From: Isaac Shapira Date: Tue, 2 Sep 2014 19:48:01 -0600 Subject: [PATCH 1/2] Document Environment in tasks as well Googling around for environment variables in Ansible yields this page. It would be useful to have the task version documented here as well. --- docsite/rst/faq.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docsite/rst/faq.rst b/docsite/rst/faq.rst index 6c0287ae51c..b0b4519d0fb 100644 --- a/docsite/rst/faq.rst +++ b/docsite/rst/faq.rst @@ -5,6 +5,15 @@ Here are some commonly-asked questions and their answers. .. _users_and_ports: +If you are looking to set enviroment varialbes remotely for your project (in a task, not locally for Ansible) +The keyword is simply `enviroment` + +``` + enviroment: + PATH:$PATH:/thingy/bin +``` + + How do I handle different machines needing different user accounts or ports to log in with? +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ From 26a1e20bb27eab7c5ccbfe439447a1460b6245d5 Mon Sep 17 00:00:00 2001 From: Isaac Shapira Date: Fri, 5 Sep 2014 08:21:45 -0600 Subject: [PATCH 2/2] enviroment -> environment --- docsite/rst/faq.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docsite/rst/faq.rst b/docsite/rst/faq.rst index b0b4519d0fb..ef05cc19a9c 100644 --- a/docsite/rst/faq.rst +++ b/docsite/rst/faq.rst @@ -5,11 +5,11 @@ Here are some commonly-asked questions and their answers. .. _users_and_ports: -If you are looking to set enviroment varialbes remotely for your project (in a task, not locally for Ansible) -The keyword is simply `enviroment` +If you are looking to set environment varialbes remotely for your project (in a task, not locally for Ansible) +The keyword is simply `environment` ``` - enviroment: + environment: PATH:$PATH:/thingy/bin ```