From 10e14d0e0ab54746f6c4599dacbfb806629f6cc8 Mon Sep 17 00:00:00 2001 From: Henry Todd Date: Sat, 21 Mar 2015 13:21:55 +0800 Subject: [PATCH] Update add_host example in AWS Guide The add_host module now uses "groups" instead of "groupname" to allow for specifying more than one group. --- docsite/rst/guide_aws.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/guide_aws.rst b/docsite/rst/guide_aws.rst index 7cfffc218db..97eb0904fe2 100644 --- a/docsite/rst/guide_aws.rst +++ b/docsite/rst/guide_aws.rst @@ -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::