From c75996d9960c6eb6384f5c335cc9c6f276f50aa5 Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Fri, 8 Aug 2014 09:20:23 -0400 Subject: [PATCH 1/2] Small doc addition to ec2_group to show the various values for "state" --- library/cloud/ec2_group | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/cloud/ec2_group b/library/cloud/ec2_group index af6f1ee9bc4..a57bab27dac 100644 --- a/library/cloud/ec2_group +++ b/library/cloud/ec2_group @@ -40,7 +40,7 @@ options: state: version_added: "1.4" description: - - create or delete security group + - Create ("present") or delete ("absent") a security group required: false default: 'present' aliases: [] From ac0f312ed22126d7ff2fc52f813235f15c4a26b7 Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Fri, 8 Aug 2014 09:35:15 -0400 Subject: [PATCH 2/2] better way to document "state" choices --- library/cloud/ec2_group | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/cloud/ec2_group b/library/cloud/ec2_group index a57bab27dac..3e11d2cbf37 100644 --- a/library/cloud/ec2_group +++ b/library/cloud/ec2_group @@ -40,9 +40,10 @@ options: state: version_added: "1.4" description: - - Create ("present") or delete ("absent") a security group + - Create or delete a security group required: false default: 'present' + choices: [ "present", "absent" ] aliases: [] extends_documentation_fragment: aws