From 142fd9b06df3b484af864ab22fa01b57590e08b6 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Sun, 26 Oct 2014 16:26:33 -0400 Subject: [PATCH] ec2_snapshot: document wait, wait_timeout params Document the wait and wait_timeout params for ec2_snapshot. This is important because snapshots can take a long time to complete, and the module defaults to wait=yes. --- cloud/ec2_snapshot.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/cloud/ec2_snapshot.py b/cloud/ec2_snapshot.py index a37aadb95e2..4c21ae6ff7b 100644 --- a/cloud/ec2_snapshot.py +++ b/cloud/ec2_snapshot.py @@ -48,7 +48,20 @@ options: - a hash/dictionary of tags to add to the snapshot required: false version_added: "1.6" - + wait: + description: + - wait for the snapshot to be ready + choices: ['yes', 'no'] + required: false + default: yes + version_added: "1.5.1" + wait_timeout: + description: + - how long before wait gives up, in seconds + - specify 0 to wait forever + required: false + default: 0 + version_added: "1.5.1" author: Will Thames extends_documentation_fragment: aws '''