I'm trying to figure out why this is only adding one hosts after 
registering ec2
Ansible 2.0.2

- name: Add hosts group temporary inventory group
  add_host: name={{ item.private_ip }} groups=dynamic
  with_items: "{{ ec2.instances }}"

-- 
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/31f7583b-8b93-481a-8288-a0758d0a2476%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to