From 7dd95e43a431234bd0dd6bdeed1838c301d1826f Mon Sep 17 00:00:00 2001 From: Isaac Shapira Date: Tue, 2 Sep 2014 19:48:01 -0600 Subject: [PATCH] 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? +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++