Running ansible 2.1.0

I'm trying to run ansible-galaxy install in a play book to download the 
needed roles in an automated fashion and it seems to skip the task.

So far I have tried:
- hosts: localhost
   connection: local
   tasks:
   - name: install required roles
     command: galaxy install -r requirements.yml -p roles

- hosts: localhost
   connection: local
   tasks:
    - name: install required roles
      local_action: command galaxy install -r requirements.yml -p roles

- hosts: localhost
  connection: local
  tasks:
  - name: install required roles
    command: galaxy install -r requirements.yml -p roles
    delegate_to: localhost

There is nothing that is being outputted saying an error or its skipped it 
just doesn't run and goes to the next part of the playbook, which is:
- hosts: localhost
  connection: local
  gather_facts: True
  roles:
     - ec2instance

Which then fails because it can't find the role.

Any help is appreciated.

-- 


This email communication (including any attachments) contains information 
from Answers Corporation or its affiliates that is confidential and may be 
privileged. The information contained herein is intended only for the use 
of the addressee(s) named above. If you are not the intended recipient (or 
the agent responsible to deliver it to the intended recipient), you are 
hereby notified that any dissemination, distribution, use, or copying of 
this communication is strictly prohibited. If you have received this email 
in error, please immediately reply to sender, delete the message and 
destroy all copies of it. If you have questions, please email 
le...@answers.com. 

If you wish to unsubscribe to commercial emails from Answers and its 
affiliates, please go to the Answers Subscription Center 
http://campaigns.answers.com/subscriptions to opt out.  Thank you.

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/91c23383-74c8-41e0-9584-f0d69acf03ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to