Skip to content

what is the difference between the GLOBAL var and env sections? #537

Answered by andreynering
amancevice asked this question in Q&A
Discussion options

You must be logged in to vote

Envs are supposed to be used when you want that to be used as environment variables by the programs you're calling in the task.

Vars are supposed to be used for interpolation in tasks by using {{.FOO}}.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by amancevice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants