Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
Re: [ansible-project] use environment variables of the remote host
25 views
Skip to first unread message
Brian Coca
unread,
Mar 31, 2016, 5:36:02 PM
3/31/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages