update docs for cloudformation
This commit is contained in:
parent
6288d44581
commit
692045f693
1 changed files with 17 additions and 0 deletions
|
@ -51,6 +51,7 @@ options:
|
||||||
template:
|
template:
|
||||||
description:
|
description:
|
||||||
- The local path of the cloudformation template. This parameter is mutually exclusive with 'template_url'. Either one of them is required if "state" parameter is "present"
|
- The local path of the cloudformation template. This parameter is mutually exclusive with 'template_url'. Either one of them is required if "state" parameter is "present"
|
||||||
|
Must give full path to the file, relative to the playbook. If using roles this may look like "roles/cloudformation/files/cloudformation-example.json"
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
aliases: []
|
aliases: []
|
||||||
|
@ -115,6 +116,22 @@ EXAMPLES = '''
|
||||||
tags:
|
tags:
|
||||||
Stack: "ansible-cloudformation"
|
Stack: "ansible-cloudformation"
|
||||||
|
|
||||||
|
# Basic role example
|
||||||
|
- name: launch ansible cloudformation example
|
||||||
|
cloudformation:
|
||||||
|
stack_name: "ansible-cloudformation"
|
||||||
|
state: "present"
|
||||||
|
region: "us-east-1"
|
||||||
|
disable_rollback: true
|
||||||
|
template: "roles/cloudformation/files/cloudformation-example.json"
|
||||||
|
template_parameters:
|
||||||
|
KeyName: "jmartin"
|
||||||
|
DiskType: "ephemeral"
|
||||||
|
InstanceType: "m1.small"
|
||||||
|
ClusterSize: 3
|
||||||
|
tags:
|
||||||
|
Stack: "ansible-cloudformation"
|
||||||
|
|
||||||
# Removal example
|
# Removal example
|
||||||
- name: tear down old deployment
|
- name: tear down old deployment
|
||||||
cloudformation:
|
cloudformation:
|
||||||
|
|
Loading…
Reference in a new issue