Debian Codegraph @

ansible_collections/community/hashi_vault/plugins/doc_fragments/attributes.py

raw
1 # -*- coding: utf-8 -*-
2
3 # Copyright: (c) 2022, Brian Scholer (@briantist)
4 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
5 # SPDX-License-Identifier: GPL-3.0-or-later
6
7 from __future__ import (absolute_import, division, print_function)
8 __metaclass__ = type
9
10
11 class ModuleDocFragment(object):
12
13 DOCUMENTATION = r'''
14 options: {}
15 attributes:
16 check_mode:
17 description: Can run in C(check_mode) and return changed status prediction without modifying target.
18 '''
19
20 ACTION_GROUP = r'''
21 options: {}
22 attributes:
23 action_group:
24 description: Use C(group/community.hashi_vault.vault) in C(module_defaults) to set defaults for this module.
25 support: full
26 membership:
27 - community.hashi_vault.vault
28 '''
29
30 # Should be used together with the standard fragment
31 CHECK_MODE_READ_ONLY = r'''
32 options: {}
33 attributes:
34 check_mode:
35 support: full
36 details:
37 - This module is "read only" and operates the same regardless of check mode.
38 '''