--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5f79d6da-6798-4438-9531-10da26b33351%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
/usr/local/rvm/gems/ruby-1.9.3-p547/bin:/usr/local/rvm/gems/ruby-1.9.3-p547@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p547/bin:...
I could find a way to dig this out as a custom variable, but the funny thing is, on CentOS, the RVM supplied paths are in ansible_env.PATH. On RHEL, they aren't.
The consequence is that the ruby -v command, and gem commands work on CentOS, on RHEL neither ruby nor gem are found.
I'm happy to do things the "ansible way", perhaps what I need is a pointer on how best to proceed. To your question, I'm not doing anything special to try and use a particular shell / user environment.
Regards
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1c244ecd-05af-40b7-a73e-c94a2164c1a5%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c32b96fe-a080-435c-9111-9279e5439281%40googlegroups.com.