Commit d3c1b8de by Michael DeHaan

Merge pull request #5883 from amirhhz/improve-ec2-module-docs

Improve ec2 module docs
parents 317f8f39 843f4e7d
...@@ -344,7 +344,7 @@ local_action: ...@@ -344,7 +344,7 @@ local_action:
local_action: local_action:
module: ec2 module: ec2
state: 'absent' state: 'absent'
instance_ids: {{ec2.instance_ids}} instance_ids: '{{ ec2.instance_ids }}'
# Start a few existing instances, run some tasks # Start a few existing instances, run some tasks
# and stop the instances # and stop the instances
...@@ -355,18 +355,18 @@ local_action: ...@@ -355,18 +355,18 @@ local_action:
connection: local connection: local
vars: vars:
instance_ids: instance_ids:
- 'i-xxxxxx' - 'i-xxxxxx'
- 'i-xxxxxx' - 'i-xxxxxx'
- 'i-xxxxxx' - 'i-xxxxxx'
region: us-east-1 region: us-east-1
tasks: tasks:
- name: Start the sandbox instances - name: Start the sandbox instances
local_action: local_action:
module: ec2 module: ec2
instance_ids: '{{ instance_ids }}' instance_ids: '{{ instance_ids }}'
region: '{{ region }}' region: '{{ region }}'
state: running state: running
wait: True wait: True
role: role:
- do_neat_stuff - do_neat_stuff
- do_more_neat_stuff - do_more_neat_stuff
...@@ -377,9 +377,9 @@ local_action: ...@@ -377,9 +377,9 @@ local_action:
connection: local connection: local
vars: vars:
instance_ids: instance_ids:
- 'i-xxxxxx' - 'i-xxxxxx'
- 'i-xxxxxx' - 'i-xxxxxx'
- 'i-xxxxxx' - 'i-xxxxxx'
region: us-east-1 region: us-east-1
tasks: tasks:
- name: Stop the sanbox instances - name: Stop the sanbox instances
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment