|
|
@ -338,18 +338,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
|
|
|
@ -360,9 +360,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
|
|
|
|