On Wednesday, 26 August 2015 11:46:43 UTC+1, Anthony Green wrote:
>
> This task 
>
>   - name: Install Ruby
>     command: /usr/local/bin/rbenv install 2.2.3
>
> fails with a
>
> stderr: rbenv: no such command `install
>
> message
>
> I've tried shell and raw as well and I get the same message.
>

some more information:

 /usr/local/bin/rbenv install 2.2.3

works if I just ssh into the box

 if I prelude the task with another that

git clone https://github.com/sstephenson/ruby-build.git 
~/.rbenv/plugins/ruby-build

then rbenv picks up the ruby-build plug and the Install Ruby task starts

However now the task never exits, although the correct version of ruby has 
been installed

Anyone got this working?

-- 
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/91d71759-aee7-40f0-a618-7d1ce7ed1f6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to