Commit 49d0ad06 by Atlas Health Committed by Michael DeHaan

added example

parent 4258eb6b
...@@ -68,7 +68,7 @@ options: ...@@ -68,7 +68,7 @@ options:
version_added: "1.6" version_added: "1.6"
snapshot_tags: snapshot_tags:
description: description:
- a hash/dictionary of tags to add to the snapshot; '{"key":"value"}' and '{"key":"value","key":"value"}' - a hash/dictionary of tags to add to the snapshot
required: false required: false
default: null default: null
aliases: [] aliases: []
...@@ -91,6 +91,15 @@ EXAMPLES = ''' ...@@ -91,6 +91,15 @@ EXAMPLES = '''
instance_id: i-12345678 instance_id: i-12345678
device_name: /dev/sdb1 device_name: /dev/sdb1
description: snapshot of /data from DB123 taken 2013/11/28 12:18:32 description: snapshot of /data from DB123 taken 2013/11/28 12:18:32
# Snapshot of volume with tagging
- local_action:
module: ec2_snapshot
instance_id: i-12345678
device_name: /dev/sdb1
snapshot_tags:
frequency: hourly
source: /data
''' '''
import sys import sys
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment