From 35e668416380cdc1ee30128de0e5dd598d34c46f Mon Sep 17 00:00:00 2001 From: Kevin Falcone Date: Wed, 21 Oct 2015 16:43:50 -0400 Subject: [PATCH] Mark this as a string so it is rendered in the docs When this was treated as a boolean, sphinx was leaving the Default column on http://docs.ansible.com/ansible/ec2_module.html blank, implying it would use AWS's default. In reality, it passes False, which overrides the defaults at AWS (it's possible to boot an instance which AWS claims will always have EBS optimization without it because of this silently passed False). --- lib/ansible/modules/cloud/amazon/ec2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2.py b/lib/ansible/modules/cloud/amazon/ec2.py index 4b9c11f7185..f3b28abc07b 100755 --- a/lib/ansible/modules/cloud/amazon/ec2.py +++ b/lib/ansible/modules/cloud/amazon/ec2.py @@ -222,7 +222,7 @@ options: description: - whether instance is using optimized EBS volumes, see U(http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html) required: false - default: false + default: 'false' exact_count: version_added: "1.5" description: