1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #10037 from lekum/aws-doc-bug

Add missing register
This commit is contained in:
Brian Coca 2015-01-19 15:29:59 -05:00
commit 1a1b66702f

View file

@ -104,6 +104,7 @@ From this, we'll use the add_host module to dynamically create a host group cons
Name: Demo
instance_tags:
Name: Demo
register: ec2
- name: Add all instance public IPs to host group
add_host: hostname={{ item.public_ip }} groupname=ec2hosts