mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
corrected typo
This commit is contained in:
parent
22a69e2498
commit
2f7164e3de
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ Here are some commonly-asked questions and their answers.
|
||||||
How can I set the PATH or any other environment variable for a task or entire playbook?
|
How can I set the PATH or any other environment variable for a task or entire playbook?
|
||||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
|
||||||
Setting environment variables can be done with the `environment` keyword. It can be used at task or playbook level::
|
Setting environment variables can be done with the `environment` keyword. It can be used at task or play level::
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
PATH: "{{ ansible_env.PATH }}:/thingy/bin"
|
PATH: "{{ ansible_env.PATH }}:/thingy/bin"
|
||||||
|
|
Loading…
Reference in a new issue