Merge pull request #8866 from Fresheyeball/patch-1
Document Environment in tasks as well
This commit is contained in:
commit
08617c087b
1 changed files with 9 additions and 0 deletions
|
@ -5,6 +5,15 @@ Here are some commonly-asked questions and their answers.
|
||||||
|
|
||||||
.. _users_and_ports:
|
.. _users_and_ports:
|
||||||
|
|
||||||
|
If you are looking to set environment varialbes remotely for your project (in a task, not locally for Ansible)
|
||||||
|
The keyword is simply `environment`
|
||||||
|
|
||||||
|
```
|
||||||
|
environment:
|
||||||
|
PATH:$PATH:/thingy/bin
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
How do I handle different machines needing different user accounts or ports to log in with?
|
How do I handle different machines needing different user accounts or ports to log in with?
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue