Howdy all,
I'm trying to create a playbook that would insure that a certain set of EC2 instances is running before initiating a process. I've played with the EC2 dynamic inventory but it seems to return only instances that are already running and I didn't see anything in the ini that would tell it to pull everything. As a second question, assuming I can get the complete list is "running" a valid state/parameter for the EC2 module. Something like:
---
- name: Make sure the machine is awake:
module: ec2
state: running
wait: True
- name: Fire the process
shell: ./etc/myutils/backup.sh
Thanks,
James
__________________________________________________________________
The information contained in this email message and any attachment may be privileged, confidential, proprietary or otherwise protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this message and any attachment is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and permanently delete it from your computer and destroy any printout thereof.