Hey, I still face the same problem...

Even if I make the adjustments on the ec2.ini file as:

https://gist.github.com/zerOnepal/83b66faf52f4d2b7b1a7/revisions

and run 

./ec2.py --list

:( my stopped servers are not getting listed... I tried cleaning the ansible 
cache... still no luck



I am trying do multiple stuffs like: to start the stopped staging servers 
from list generated with ec2.py

Any wise advice,

Thanks

On Wednesday, July 30, 2014 at 5:49:00 PM UTC+5:45, Damjan Georgievski 
wrote:
>
> ec2.ini says:
>
> # By default, only EC2 instances in the 'running' state are returned. Set
> # 'all_instances' to True to return all instances regardless of state.
> all_instances = True
>
> but ec2.py still seems to ignore stopped hosts because it has this:
>
>         # Select the best destination address
>         if instance.subnet_id:
>             dest = getattr(instance, self.vpc_destination_variable)
>         else:
>             dest =  getattr(instance, self.destination_variable)
>
>         if not dest:
>             # Skip instances we cannot address (e.g. private VPC subnet)
>             return
>
>
> What's the proper solution here?
>
> -- 
> damjan
>

-- 
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/77790cd7-109e-4edf-a297-2ca3de0d686f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to