2017-02-09 11:30:31 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
2019-02-15 12:21:20 +00:00
|
|
|
# Copyright: (c) 2016, Dimension Data
|
|
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
|
2017-02-09 11:30:31 +00:00
|
|
|
# Authors:
|
|
|
|
# - Adam Friedman <tintoy@tintoy.io>
|
|
|
|
|
|
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
|
|
|
|
# Dimension Data ("wait-for-completion" parameters) doc fragment
|
2019-02-15 12:21:20 +00:00
|
|
|
DOCUMENTATION = r'''
|
2017-02-09 11:30:31 +00:00
|
|
|
|
|
|
|
options:
|
|
|
|
wait:
|
|
|
|
description:
|
|
|
|
- Should we wait for the task to complete before moving onto the next.
|
2018-11-28 08:25:52 +00:00
|
|
|
type: bool
|
2019-02-15 12:21:20 +00:00
|
|
|
default: no
|
2017-02-09 11:30:31 +00:00
|
|
|
wait_time:
|
|
|
|
description:
|
|
|
|
- The maximum amount of time (in seconds) to wait for the task to complete.
|
|
|
|
- Only applicable if I(wait=true).
|
2019-02-15 12:21:20 +00:00
|
|
|
type: int
|
2017-02-09 11:30:31 +00:00
|
|
|
default: 600
|
|
|
|
wait_poll_interval:
|
|
|
|
description:
|
|
|
|
- The amount of time (in seconds) to wait between checks for task completion.
|
|
|
|
- Only applicable if I(wait=true).
|
2019-02-15 12:21:20 +00:00
|
|
|
type: int
|
2017-02-09 11:30:31 +00:00
|
|
|
default: 2
|
|
|
|
'''
|