mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
Legacy variable usage removed.
This commit is contained in:
parent
131c8489d4
commit
764504b578
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…
Add table
Add a link
Reference in a new issue