Add missing register

This commit is contained in:
Alejandro Guirao 2015-01-18 14:27:26 +01:00
parent ed891c76f6
commit 63808ee3f1

View file

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