On 16.08.2014 00:35, Matthew Morgan wrote:
So, I'm super stuck on this problem.  I created a pastie of all the info.

http://pastie.org/private/po3yakcngchu8wzjiwhsa

What am I doing wrong in the playbook that I can't get those IPs into my hosts file?

Any help would be greatly appreciated!
add_host is for adding a host to current run's in-memory inventory, not the one on disk. It's used to provision a newly-created VMs.

You want to either use dynamic inventory and pull data from EC2, or somehow add the host to static inventory (with lineinfile maybe?)


--
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] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8d21cfef-aa4f-4009-abc4-f9e2c235b8be%40googlegroups.com <https://groups.google.com/d/msgid/ansible-project/8d21cfef-aa4f-4009-abc4-f9e2c235b8be%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
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/53EE9017.3030903%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to