mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
1b2fbd72de
(cherry picked from commit bcecf2dcdc
)
Co-authored-by: Felix Fontein <felix@fontein.de>
27 lines
1.1 KiB
Python
27 lines
1.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Copyright (c) 2018, Oracle and/or its affiliates.
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
from __future__ import (absolute_import, division, print_function)
|
|
__metaclass__ = type
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
DOCUMENTATION = """
|
|
options:
|
|
wait:
|
|
description: Whether to wait for create or delete operation to complete.
|
|
default: true
|
|
type: bool
|
|
wait_timeout:
|
|
description: Time, in seconds, to wait when I(wait=true).
|
|
default: 1200
|
|
type: int
|
|
wait_until:
|
|
description: The lifecycle state to wait for the resource to transition into when I(wait=true). By default,
|
|
when I(wait=true), we wait for the resource to get into ACTIVE/ATTACHED/AVAILABLE/PROVISIONED/
|
|
RUNNING applicable lifecycle state during create operation & to get into DELETED/DETACHED/
|
|
TERMINATED lifecycle state during delete operation.
|
|
type: str
|
|
"""
|