Commit e5edce8e by Brian Coca

Merge pull request #10513 from hjst/patch-1

Update add_host example in AWS Guide
parents ca540ef9 10e14d0e
......@@ -107,7 +107,7 @@ From this, we'll use the add_host module to dynamically create a host group cons
register: ec2
- name: Add all instance public IPs to host group
add_host: hostname={{ item.public_ip }} groupname=ec2hosts
add_host: hostname={{ item.public_ip }} groups=ec2hosts
with_items: ec2.instances
With the host group now created, a second play at the bottom of the the same provisioning playbook file might now have some configuration steps::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment