Legacy variable usage removed.
This commit is contained in:
parent
7cf87d7a3c
commit
957d0a79c0
1 changed files with 4 additions and 4 deletions
|
@ -67,16 +67,16 @@ EXAMPLES = '''
|
||||||
# Playbook example combined with instance launch
|
# Playbook example combined with instance launch
|
||||||
- local_action:
|
- local_action:
|
||||||
module: ec2
|
module: ec2
|
||||||
keypair: $keypair
|
keypair: "{{ keypair }}"
|
||||||
image: $image
|
image: "{{ image }}"
|
||||||
wait: yes
|
wait: yes
|
||||||
count: 3
|
count: 3
|
||||||
register: ec2
|
register: ec2
|
||||||
- local_action:
|
- local_action:
|
||||||
module: ec2_vol
|
module: ec2_vol
|
||||||
instance: ${item.id}
|
instance: "{{ item.id }} "
|
||||||
volume_size: 5
|
volume_size: 5
|
||||||
with_items: ${ec2.instances}
|
with_items: ec2.instances
|
||||||
register: ec2_vol
|
register: ec2_vol
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue