What version of Ansible are you running? ansible-playbook --version
On Sat, Aug 2, 2014 at 12:09 AM, Tze Yang Ng <[email protected]> wrote: > Hi, > > I am new to Vagrant and Ansible. Trying to use a playbook to install > compass using gem command but got the following error. Seem like i miss > some setting on env? > > TASK: [ruby | Ruby | Install compass gem] ****************************** > ******* > > failed: [default] => {"failed": true} > > msg: Failed to find required executable gem > > FATAL: all hosts have already failed -- aborting > > This is the playbook content: > > --- > > - name: Ruby | Install Ruby > > apt: pkg=ruby update-cache=yes > > sudo: yes > > tags: ruby > > > - name: Ruby | Install compass gem > > gem: name=compass > > sudo: yes > > tags: ruby > > Please help. > > -- > 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/a811190d-df33-41e8-8fe5-0051d671455a%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/a811190d-df33-41e8-8fe5-0051d671455a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgwSEyqEAsukaK7bDi6rqGZYBVH-gZ8Nm1Ro0a5g05%3DNEw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
