On 3 November 2014 23:59, Paul Stivers <[email protected]> wrote:
[...]
> 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 not an export, but please check the ec2_id variable. I think it's
what you look for.


Cheers,
Wawrzek
-- 
Dr  Wawrzyniec NiewodniczaƄski    or Wawrzek for short
  PhD in Quantum Chemistry  & MSc in Molecular Engineering
   WWW: http://wawrzek.name E-MAIL: [email protected]
      Linux User #177124

-- 
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/CAC7-vpDKRne7e%2BJoMGvWMekhsOGTD2CU3zJd2%3DBciEvOOqTqiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to