I'm installing ruby from source and then using template to export path.
but am unable to run:
 shell: rbenv install jruby-9.0.5.0
getting error rbenv command not found.
the solution I'm using to run command is:
 shell: . /etc/profile.d/rbenv.sh && rbenv install jruby-9.0.5.0 
It's working but in this way i have to source profile in every command.
Is there any way to add this in ansible.config file or something so that i 
need not to source profile in every command ?

-- 
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/accb4152-a1e4-42e0-bd57-df4c02aa7e59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to