each task is a different session, env vars created in task1, will not
be seen in task2 (if you login from one terminal and expot a variable,
you won't see it when you login from a 2nd terminal).

Use the environment: directive at play/block/task level if you want
your tasks to have a specific set environment. for example:
http://docs.ansible.com/ansible/playbooks_environment.html


----------
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACVha7fLo5J-CFuqyTLQ75-fpQtMhY_EN6Tic0PaFQrU-n-kbw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to