mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
Add ec2_vol snapshot example from #4189
This commit is contained in:
parent
fca8ec3d3c
commit
1584d8f01b
1 changed files with 6 additions and 0 deletions
|
@ -102,6 +102,12 @@ EXAMPLES = '''
|
||||||
iops: 200
|
iops: 200
|
||||||
device_name: sdd
|
device_name: sdd
|
||||||
|
|
||||||
|
# Example using snapshot id
|
||||||
|
- local_action:
|
||||||
|
module: ec2_vol
|
||||||
|
instance: XXXXXX
|
||||||
|
snapshot: "{{ snapshot }}"
|
||||||
|
|
||||||
# Playbook example combined with instance launch
|
# Playbook example combined with instance launch
|
||||||
- local_action:
|
- local_action:
|
||||||
module: ec2
|
module: ec2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue