mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
203747027e
* Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt.
* Replace 'Copyright:' with 'Copyright'
sed -i 's|Copyright:\(.*\)|Copyright\1|' $(rg -l 'Copyright:')
Co-authored-by: Maxwell G <gotmax@e.email>
(cherry picked from commit 123c7efe5e
)
Co-authored-by: Felix Fontein <felix@fontein.de>
26 lines
1.2 KiB
Python
26 lines
1.2 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:
|
|
force_create:
|
|
description: Whether to attempt non-idempotent creation of a resource. By default, create resource is an
|
|
idempotent operation, and doesn't create the resource if it already exists. Setting this option
|
|
to true, forcefully creates a copy of the resource, even if it already exists.This option is
|
|
mutually exclusive with I(key_by).
|
|
default: False
|
|
type: bool
|
|
key_by:
|
|
description: The list of comma-separated attributes of this resource which should be used to uniquely
|
|
identify an instance of the resource. By default, all the attributes of a resource except
|
|
I(freeform_tags) are used to uniquely identify a resource.
|
|
type: list
|
|
elements: str
|
|
"""
|