I am trying to create a simple playbook and having issues understanding the 
key value I need. Currently my goal is to do this.

1.) Get a list of instances either by a tag or running.
2.) Register this list and gather the facts of the instances with the 
ec2_remote_facts module
3.) Create an ami of all instances it finds with that tag or running 
4.) the name of the ami will need to be the private ip of instance.

Here Is my code so far, but can't figure out the correct variables.

http://pastebin.com/G78irCWH

I apologize in advance if this not the correct place to ask this question.

-- 
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/79e9753b-2455-4363-b007-98b7758216f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to