From 2dafff3f97d8944285f4eff1dbc6bc86aeefb98b Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 31 Mar 2015 09:09:43 -0400 Subject: [PATCH] fixed doc issues on cloudformation --- lib/ansible/modules/cloud/amazon/cloudformation.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/cloudformation.py b/lib/ansible/modules/cloud/amazon/cloudformation.py index b25d76526fa..5852c5b2b7f 100644 --- a/lib/ansible/modules/cloud/amazon/cloudformation.py +++ b/lib/ansible/modules/cloud/amazon/cloudformation.py @@ -78,7 +78,7 @@ options: version_added: "1.5" template_url: description: - - Location of file containing the template body. The URL must point to a template (max size: 307,200 bytes) located in an S3 bucket in the same region as the stack. This parameter is mutually exclusive with 'template'. Either one of them is required if "state" parameter is "present" + - 'Location of file containing the template body. The URL must point to a template (max size: 307,200 bytes) located in an S3 bucket in the same region as the stack. This parameter is mutually exclusive with 'template'. Either one of them is required if "state" parameter is "present"' required: false version_added: "2.0" @@ -88,7 +88,6 @@ extends_documentation_fragment: aws EXAMPLES = ''' # Basic task example -tasks: - name: launch ansible cloudformation example cloudformation: stack_name: "ansible-cloudformation" @@ -105,13 +104,12 @@ tasks: Stack: "ansible-cloudformation" # Removal example -tasks: - name: tear down old deployment cloudformation: stack_name: "ansible-cloudformation-old" state: "absent" + # Use a template from a URL -tasks: - name: launch ansible cloudformation example cloudformation: stack_name="ansible-cloudformation" state=present