$ ansible --version
ansible 1.8 (develop 0179c13e04) last updated 2014/10/24 11:53:25 (GMT -700) Right now I'm using "-i inventories/ec2.py -l 'tag_Environment_<environment>" to apply playbooks to servers in an environment, by IP address. Now I have playbooks to stop and start all instances in an environment, but haven't found a way to use ec2.py to apply these playbooks to all servers in the environment because stop and start needs a list of instance IDs rather than IP addresses. Is there a way? I'm thinking not, because ec2.py I don't see instance_id in the list of variables returned when run against a specific host. If not, my intent is to write a script to use the cli to generate/regenerate a list of instance IDs for the instance_ids variable. Thanks for any help, Paul -- 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/e6c086af-49a8-4305-8e56-35b0df48464f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
