after fact gathering, the ansible_env variable is populated with the target host's environment vars.
So ansible_env['PATH'] should have the path variable of the 'inventory_hostname' for the user that gathered facts. ---------- 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/CACVha7dkzGN6r0vSP0XL0_jO9UftefP0qo34jbVDc51sjTPe0A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
