mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix indent of "register" key
This commit is contained in:
parent
4591761c73
commit
a22bdd8356
1 changed files with 3 additions and 3 deletions
|
@ -136,12 +136,12 @@ EXAMPLES = '''
|
||||||
image: "{{ image }}"
|
image: "{{ image }}"
|
||||||
wait: yes
|
wait: yes
|
||||||
count: 3
|
count: 3
|
||||||
register: ec2
|
register: ec2
|
||||||
- ec2_vol:
|
- 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
|
||||||
|
|
||||||
# Example: Launch an instance and then add a volume if not already present
|
# Example: Launch an instance and then add a volume if not already present
|
||||||
# * Nothing will happen if the volume is already attached.
|
# * Nothing will happen if the volume is already attached.
|
||||||
|
@ -154,7 +154,7 @@ EXAMPLES = '''
|
||||||
id: my_instance
|
id: my_instance
|
||||||
wait: yes
|
wait: yes
|
||||||
count: 1
|
count: 1
|
||||||
register: ec2
|
register: ec2
|
||||||
|
|
||||||
- ec2_vol:
|
- ec2_vol:
|
||||||
instance: "{{ item.id }}"
|
instance: "{{ item.id }}"
|
||||||
|
|
Loading…
Reference in a new issue