From c59510aaf40f58a765bc948950e1d1587728d63b Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 27 Jun 2016 09:35:26 -0400 Subject: [PATCH] updated docs in pause to reflect 0 value behaviour --- lib/ansible/modules/utilities/logic/pause.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/utilities/logic/pause.py b/lib/ansible/modules/utilities/logic/pause.py index 0fad09ea7bc..75d2db1a73a 100644 --- a/lib/ansible/modules/utilities/logic/pause.py +++ b/lib/ansible/modules/utilities/logic/pause.py @@ -27,12 +27,12 @@ version_added: "0.8" options: minutes: description: - - Number of minutes to pause for. + - A positive number of minutes to pause for. required: false default: null seconds: description: - - Number of seconds to pause for. + - A positive number of seconds to pause for. required: false default: null prompt: @@ -41,6 +41,8 @@ options: required: false default: null author: "Tim Bielawa (@tbielawa)" +notes: + - Starting in 2.2, if you specify 0 or negative for minutes or seconds, it will wait for 1 second, previously it would wait indefinitely. ''' EXAMPLES = '''