From f101768a9dcb1ea9a3a414bbb08d491118d17284 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Fri, 7 Feb 2014 10:49:13 -0500 Subject: [PATCH] Make an example that sets the instance Names --- library/cloud/ec2 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/library/cloud/ec2 b/library/cloud/ec2 index bc037265563..585b70280de 100644 --- a/library/cloud/ec2 +++ b/library/cloud/ec2 @@ -407,7 +407,7 @@ local_action: count_tag: foo # -# Enforce that 5 instances with a tag "foo" that has a value "bar" +# Enforce that 5 running instances named "database" with a "dbtype" of "postgres" # - local_action: @@ -418,10 +418,12 @@ local_action: wait: yes group: webserver instance_tags: - foo: bar + Name: database + dbtype: postgres exact_count: 5 count_tag: - foo: bar + Name: database + dbtype: postgres # # count_tag complex argument examples