mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update docstrings in ec2_vol
This commit is contained in:
parent
67e9cbe637
commit
f0704159ae
1 changed files with 6 additions and 3 deletions
|
@ -52,12 +52,14 @@ options:
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
aliases: []
|
aliases: []
|
||||||
|
version_added: "1.6"
|
||||||
id:
|
id:
|
||||||
description:
|
description:
|
||||||
- volume id if you wish to attach an existing volume (requires instance)
|
- volume id if you wish to attach an existing volume (requires instance)
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
aliases: []
|
aliases: []
|
||||||
|
version_added: "1.6"
|
||||||
volume_size:
|
volume_size:
|
||||||
description:
|
description:
|
||||||
- size of volume (in GB) to create.
|
- size of volume (in GB) to create.
|
||||||
|
@ -158,9 +160,10 @@ EXAMPLES = '''
|
||||||
with_items: ec2.instances
|
with_items: ec2.instances
|
||||||
register: ec2_vol
|
register: ec2_vol
|
||||||
|
|
||||||
# Idempotent playbook example combined with single instance launch
|
# Example: Launch an instance and then add a volue if not already present
|
||||||
# Volume must exist in the same zone; will not do anything if it is
|
# * Nothing will happen if the volume is already attached.
|
||||||
# already attached.
|
# * Volume must exist in the same zone.
|
||||||
|
|
||||||
- local_action:
|
- local_action:
|
||||||
module: ec2
|
module: ec2
|
||||||
keypair: "{{ keypair }}"
|
keypair: "{{ keypair }}"
|
||||||
|
|
Loading…
Reference in a new issue