--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/14baa735-f3f2-43a4-8f0a-6e5af16be047%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alex Honor
[SimplifyOps, Inc | a...@simplifyops.com ]
Be sure to comment and vote on Rundeck Feature Development!
Hi Alex,
Thanks for answering me.
The environment variables are set in the .bashrc and I did put the AcceptEnv RD_* in my ssh config. It does pass rundeck variables but when I execute the job that makes rundeck print its environment variables when it is connected on the remote server, they are not the same as the user it is connecting as.
For example, the "admin" user on the remote server has for $PATH this :
/home/admin/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
and when rundeck connects as "admin" on the remote server, its PATH is :
/usr/local/bin:/usr/bin:/bin:/usr/games
So how can I make Rundeck uses the original PATH ( the first one I put ) and other environment variables as well ?
Thanks in advance,
bronsky
Le mercredi 30 septembre 2015 11:43:03 UTC+2, Bronsky Proco a écrit :
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/937a4835-df71-4436-92c8-dbd72f111d56%40googlegroups.com.
Alex Honor
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/b87c1b3a-5d80-402c-aff9-124b619e4c02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.