From 1584d8f01b229fc9e1b3f85c6f3c014a36005141 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Tue, 28 Jan 2014 09:58:13 -0500 Subject: [PATCH] Add ec2_vol snapshot example from #4189 --- library/cloud/ec2_vol | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/library/cloud/ec2_vol b/library/cloud/ec2_vol index d3c527f7378..71a60ac603c 100644 --- a/library/cloud/ec2_vol +++ b/library/cloud/ec2_vol @@ -102,6 +102,12 @@ EXAMPLES = ''' iops: 200 device_name: sdd +# Example using snapshot id +- local_action: + module: ec2_vol + instance: XXXXXX + snapshot: "{{ snapshot }}" + # Playbook example combined with instance launch - local_action: module: ec2