can you please try with -vvv three v's / the module does return the events
returned by aws, can you check in the aws console if there were any errors
in the operation . and also what version if ansible are you using,



On Tue, Jun 9, 2015 at 9:58 PM, <[email protected]> wrote:

> Hi All,
>
> While running a playbook I get very poor information regarding the
> possible root cause of error.
> # ansible-playbook -i hosts aws-cf-provision.yml -vv
>
> PLAY [localhost]
> **************************************************************
>
> TASK: [Create VPC, internet gateway, route tables and security groups]
> ********
> <127.0.0.1> REMOTE_MODULE cloudformation template=VPCStack.json state=present
> region=eu-west-1 stack_name=VPCStack-dev aws_access_key=********
> aws_secret_key=********
> failed: [127.0.0.1] => {"failed": true}
>
> FATAL: all hosts have already failed -- aborting
>
> PLAY RECAP
> ********************************************************************
> Create VPC, internet gateway, route tables and security groups --------
> 201.80s
>            to retry, use: --limit @/root/aws-cf-provision.retry
>
> 127.0.0.1                  : ok=0    changed=0    unreachable=0    failed=
> 1
>
> Enter code here...
>
> If I run CloudFormation script form command line it just works fine. Is
> there any way how it can be debugged?
> -vvvv switch doesn't give much clue.
>
> Regards,
> Constantin
>
> --
> 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/2f18d896-1765-4626-94b7-a64a77c8cde0%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/2f18d896-1765-4626-94b7-a64a77c8cde0%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/CAFUV_d64UupJPS3eeaR7%2BjVCNODxKaYSKeA%3Dey6P8T-%3DLBjRLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to