Merge pull request #5883 from amirhhz/improve-ec2-module-docs
Improve ec2 module docs
This commit is contained in:
commit
7cf513d4ed
1 changed files with 12 additions and 12 deletions
24
cloud/ec2
24
cloud/ec2
|
@ -344,7 +344,7 @@ local_action:
|
|||
local_action:
|
||||
module: ec2
|
||||
state: 'absent'
|
||||
instance_ids: {{ec2.instance_ids}}
|
||||
instance_ids: '{{ ec2.instance_ids }}'
|
||||
|
||||
# Start a few existing instances, run some tasks
|
||||
# and stop the instances
|
||||
|
@ -355,18 +355,18 @@ local_action:
|
|||
connection: local
|
||||
vars:
|
||||
instance_ids:
|
||||
- 'i-xxxxxx'
|
||||
- 'i-xxxxxx'
|
||||
- 'i-xxxxxx'
|
||||
- 'i-xxxxxx'
|
||||
- 'i-xxxxxx'
|
||||
- 'i-xxxxxx'
|
||||
region: us-east-1
|
||||
tasks:
|
||||
- name: Start the sandbox instances
|
||||
local_action:
|
||||
module: ec2
|
||||
instance_ids: '{{ instance_ids }}'
|
||||
region: '{{ region }}'
|
||||
state: running
|
||||
wait: True
|
||||
module: ec2
|
||||
instance_ids: '{{ instance_ids }}'
|
||||
region: '{{ region }}'
|
||||
state: running
|
||||
wait: True
|
||||
role:
|
||||
- do_neat_stuff
|
||||
- do_more_neat_stuff
|
||||
|
@ -377,9 +377,9 @@ local_action:
|
|||
connection: local
|
||||
vars:
|
||||
instance_ids:
|
||||
- 'i-xxxxxx'
|
||||
- 'i-xxxxxx'
|
||||
- 'i-xxxxxx'
|
||||
- 'i-xxxxxx'
|
||||
- 'i-xxxxxx'
|
||||
- 'i-xxxxxx'
|
||||
region: us-east-1
|
||||
tasks:
|
||||
- name: Stop the sanbox instances
|
||||
|
|
Loading…
Reference in a new issue