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.
This commit is contained in:
Isaac Shapira 2014-09-02 19:48:01 -06:00
parent 893f15b30b
commit 7dd95e43a4

View file

@ -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?
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++