From 88f221fd9f3d42c5668cbc9e77e1430ef30f84c6 Mon Sep 17 00:00:00 2001 From: joshuaeke Date: Tue, 24 Nov 2015 18:48:59 +0000 Subject: [PATCH] Update ec2.py remove state tag 'exact_count' and 'state' are mutually exclusive options they should not be in the following examples: - # Enforce that 5 running instances named "database" with a "dbtype" of "postgres" example and - # Enforce that 5 instances with a tag "foo" are running --- lib/ansible/modules/cloud/amazon/ec2.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2.py b/lib/ansible/modules/cloud/amazon/ec2.py index 83c5ef151e..482c7f7f71 100755 --- a/lib/ansible/modules/cloud/amazon/ec2.py +++ b/lib/ansible/modules/cloud/amazon/ec2.py @@ -485,7 +485,6 @@ EXAMPLES = ''' # - ec2: - state: running key_name: mykey instance_type: c1.medium image: ami-40603AD1 @@ -503,7 +502,6 @@ EXAMPLES = ''' # - ec2: - state: running key_name: mykey instance_type: c1.medium image: ami-40603AD1