From 2b18c0ed07137910facaeb8b31ca87c7fc4c8603 Mon Sep 17 00:00:00 2001 From: Prasad Katti Date: Mon, 3 Apr 2017 10:40:12 -0700 Subject: [PATCH] [cloud][docs] Must use the count_tag option with exact_count (#23167) Fixed an example in ec2 module. The example does not work without count_tag option. --- lib/ansible/modules/cloud/amazon/ec2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/modules/cloud/amazon/ec2.py b/lib/ansible/modules/cloud/amazon/ec2.py index 05c1d5231a..547bbfe461 100644 --- a/lib/ansible/modules/cloud/amazon/ec2.py +++ b/lib/ansible/modules/cloud/amazon/ec2.py @@ -357,6 +357,8 @@ EXAMPLES = ''' volume_size: 8 vpc_subnet_id: subnet-29e63245 assign_public_ip: yes + count_tag: + Name: dbserver exact_count: 1 # Multiple groups example