From 0ef805699d6830a644ef207bf6c966edd7ad6878 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 20 Feb 2023 17:29:14 +0100 Subject: [PATCH] Add attributes to more modules (1/4) (#5965) * Add attributes to more modules. * Apply suggestions from code review. Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com> --------- Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com> --- plugins/doc_fragments/hpe3par.py | 3 +- plugins/modules/ali_instance.py | 6 +++ plugins/modules/deploy_helper.py | 10 +++- plugins/modules/heroku_collaborator.py | 7 +++ plugins/modules/honeybadger_deployment.py | 9 +++- plugins/modules/hponcfg.py | 9 +++- plugins/modules/imc_rest.py | 21 ++++++--- plugins/modules/imgadm.py | 7 +++ plugins/modules/infinity.py | 7 +++ plugins/modules/ip_netns.py | 7 +++ plugins/modules/ipwcli_dns.py | 9 ++++ plugins/modules/linode.py | 9 +++- plugins/modules/linode_v4.py | 7 +++ plugins/modules/lxc_container.py | 7 +++ plugins/modules/netcup_dns.py | 7 +++ plugins/modules/ohai.py | 19 +++++--- plugins/modules/omapi_host.py | 9 +++- plugins/modules/open_iscsi.py | 9 +++- plugins/modules/opendj_backendprop.py | 11 ++++- plugins/modules/openwrt_init.py | 7 +++ plugins/modules/pacemaker_cluster.py | 13 ++++-- plugins/modules/pmem.py | 7 +++ plugins/modules/pubnub_blocks.py | 56 +++++++++++++---------- plugins/modules/pulp_repo.py | 8 +++- plugins/modules/puppet.py | 7 +++ plugins/modules/pushbullet.py | 9 +++- plugins/modules/pushover.py | 15 ++++-- plugins/modules/serverless.py | 9 +++- plugins/modules/sl_vm.py | 7 +++ plugins/modules/ss_3par_cpg.py | 6 +++ plugins/modules/vdo.py | 9 ++++ plugins/modules/vexata_eg.py | 6 +++ plugins/modules/vexata_volume.py | 6 +++ plugins/modules/wakeonlan.py | 9 +++- plugins/modules/znode.py | 7 +++ 35 files changed, 296 insertions(+), 58 deletions(-) diff --git a/plugins/doc_fragments/hpe3par.py b/plugins/doc_fragments/hpe3par.py index 96e53846e1..606a2502a6 100644 --- a/plugins/doc_fragments/hpe3par.py +++ b/plugins/doc_fragments/hpe3par.py @@ -29,8 +29,7 @@ options: required: true requirements: - - hpe3par_sdk >= 1.0.2. Install using 'pip install hpe3par_sdk' + - hpe3par_sdk >= 1.0.2. Install using C(pip install hpe3par_sdk). - WSAPI service should be enabled on the 3PAR storage array. notes: - - check_mode not supported ''' diff --git a/plugins/modules/ali_instance.py b/plugins/modules/ali_instance.py index 96a042f5ca..232c21ee0f 100644 --- a/plugins/modules/ali_instance.py +++ b/plugins/modules/ali_instance.py @@ -31,6 +31,11 @@ short_description: Create, Start, Stop, Restart or Terminate an Instance in ECS; description: - Create, start, stop, restart, modify or terminate ecs instances. - Add or remove ecs instances to/from security group. +attributes: + check_mode: + support: none + diff_mode: + support: none options: state: description: @@ -252,6 +257,7 @@ requirements: - "footmark >= 1.19.0" extends_documentation_fragment: - community.general.alicloud + - community.general.attributes ''' EXAMPLES = ''' diff --git a/plugins/modules/deploy_helper.py b/plugins/modules/deploy_helper.py index afa63cba19..f0246cae63 100644 --- a/plugins/modules/deploy_helper.py +++ b/plugins/modules/deploy_helper.py @@ -31,6 +31,12 @@ description: C(new_release), either the 'release' parameter or a generated timestamp, C(new_release_path), the path to the new release folder (not created by the module)." +attributes: + check_mode: + support: full + diff_mode: + support: none + options: path: type: path @@ -111,7 +117,9 @@ notes: - Because of the default behaviour of generating the I(new_release) fact, this module will not be idempotent unless you pass your own release name with I(release). Due to the nature of deploying software, this should not be much of a problem. -extends_documentation_fragment: files +extends_documentation_fragment: + - ansible.builtin.files + - community.general.attributes ''' EXAMPLES = ''' diff --git a/plugins/modules/heroku_collaborator.py b/plugins/modules/heroku_collaborator.py index d76b2b6507..e7b0de3f99 100644 --- a/plugins/modules/heroku_collaborator.py +++ b/plugins/modules/heroku_collaborator.py @@ -21,6 +21,13 @@ author: - Marcel Arns (@marns93) requirements: - heroku3 +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: api_key: type: str diff --git a/plugins/modules/honeybadger_deployment.py b/plugins/modules/honeybadger_deployment.py index be8412f9af..820e4538e8 100644 --- a/plugins/modules/honeybadger_deployment.py +++ b/plugins/modules/honeybadger_deployment.py @@ -14,7 +14,14 @@ module: honeybadger_deployment author: "Benjamin Curtis (@stympy)" short_description: Notify Honeybadger.io about app deployments description: - - Notify Honeybadger.io about app deployments (see http://docs.honeybadger.io/article/188-deployment-tracking) + - Notify Honeybadger.io about app deployments (see U(http://docs.honeybadger.io/article/188-deployment-tracking)). +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: token: type: str diff --git a/plugins/modules/hponcfg.py b/plugins/modules/hponcfg.py index 65e40c46ed..612a20d923 100644 --- a/plugins/modules/hponcfg.py +++ b/plugins/modules/hponcfg.py @@ -15,7 +15,14 @@ module: hponcfg author: Dag Wieers (@dagwieers) short_description: Configure HP iLO interface using hponcfg description: - - This modules configures the HP iLO interface using hponcfg. + - This modules configures the HP iLO interface using hponcfg. +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: none + diff_mode: + support: none options: path: description: diff --git a/plugins/modules/imc_rest.py b/plugins/modules/imc_rest.py index 4d90bcc54d..4bbaad23af 100644 --- a/plugins/modules/imc_rest.py +++ b/plugins/modules/imc_rest.py @@ -13,15 +13,22 @@ DOCUMENTATION = r''' module: imc_rest short_description: Manage Cisco IMC hardware through its REST API description: -- Provides direct access to the Cisco IMC REST API. -- Perform any configuration changes and actions that the Cisco IMC supports. -- More information about the IMC REST API is available from - U(http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/c/sw/api/3_0/b_Cisco_IMC_api_301.html) + - Provides direct access to the Cisco IMC REST API. + - Perform any configuration changes and actions that the Cisco IMC supports. + - More information about the IMC REST API is available from + U(http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/c/sw/api/3_0/b_Cisco_IMC_api_301.html). author: -- Dag Wieers (@dagwieers) + - Dag Wieers (@dagwieers) requirements: -- lxml -- xmljson >= 0.1.8 + - lxml + - xmljson >= 0.1.8 +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: hostname: description: diff --git a/plugins/modules/imgadm.py b/plugins/modules/imgadm.py index 2357fffa30..6e4b810982 100644 --- a/plugins/modules/imgadm.py +++ b/plugins/modules/imgadm.py @@ -16,6 +16,13 @@ short_description: Manage SmartOS images description: - Manage SmartOS virtual machine images through imgadm(1M) author: Jasper Lievisse Adriaanse (@jasperla) +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: none + diff_mode: + support: none options: force: required: false diff --git a/plugins/modules/infinity.py b/plugins/modules/infinity.py index 4b0e835209..65aa591f4c 100644 --- a/plugins/modules/infinity.py +++ b/plugins/modules/infinity.py @@ -15,6 +15,13 @@ description: - Manage Infinity IPAM using REST API. author: - Meirong Liu (@MeganLiu) +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: none + diff_mode: + support: none options: server_ip: description: diff --git a/plugins/modules/ip_netns.py b/plugins/modules/ip_netns.py index e719874f7d..69534c810d 100644 --- a/plugins/modules/ip_netns.py +++ b/plugins/modules/ip_netns.py @@ -15,6 +15,13 @@ short_description: Manage network namespaces requirements: [ ip ] description: - Create or delete network namespaces using the ip command. +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: name: required: false diff --git a/plugins/modules/ipwcli_dns.py b/plugins/modules/ipwcli_dns.py index 9436decc8c..7b05aefb77 100644 --- a/plugins/modules/ipwcli_dns.py +++ b/plugins/modules/ipwcli_dns.py @@ -25,6 +25,15 @@ requirements: notes: - To make the DNS record changes effective, you need to run C(update dnsserver) on the ipwcli. +extends_documentation_fragment: + - community.general.attributes + +attributes: + check_mode: + support: full + diff_mode: + support: none + options: dnsname: description: diff --git a/plugins/modules/linode.py b/plugins/modules/linode.py index 5304ed3d89..404e7a393f 100644 --- a/plugins/modules/linode.py +++ b/plugins/modules/linode.py @@ -13,7 +13,14 @@ DOCUMENTATION = ''' module: linode short_description: Manage instances on the Linode Public Cloud description: - - Manage Linode Public Cloud instances and optionally wait for it to be 'running'. + - Manage Linode Public Cloud instances and optionally wait for it to be 'running'. +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: none + diff_mode: + support: none options: state: description: diff --git a/plugins/modules/linode_v4.py b/plugins/modules/linode_v4.py index 3613fc7b50..f213af125e 100644 --- a/plugins/modules/linode_v4.py +++ b/plugins/modules/linode_v4.py @@ -22,6 +22,13 @@ notes: - No Linode resizing is currently implemented. This module will, in time, replace the current Linode module which uses deprecated API bindings on the Linode side. +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: none + diff_mode: + support: none options: region: description: diff --git a/plugins/modules/lxc_container.py b/plugins/modules/lxc_container.py index 4e7f43419a..aec8f12dc4 100644 --- a/plugins/modules/lxc_container.py +++ b/plugins/modules/lxc_container.py @@ -16,6 +16,13 @@ short_description: Manage LXC Containers description: - Management of LXC containers. author: "Kevin Carter (@cloudnull)" +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: none + diff_mode: + support: none options: name: description: diff --git a/plugins/modules/netcup_dns.py b/plugins/modules/netcup_dns.py index 4c3c015ebd..77be50b2c6 100644 --- a/plugins/modules/netcup_dns.py +++ b/plugins/modules/netcup_dns.py @@ -16,6 +16,13 @@ notes: [] short_description: Manage Netcup DNS records description: - "Manages DNS records via the Netcup API, see the docs U(https://ccp.netcup.net/run/webservice/servers/endpoint.php)." +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: api_key: description: diff --git a/plugins/modules/ohai.py b/plugins/modules/ohai.py index c7322c0962..7fdab3bb75 100644 --- a/plugins/modules/ohai.py +++ b/plugins/modules/ohai.py @@ -14,16 +14,23 @@ DOCUMENTATION = ''' module: ohai short_description: Returns inventory data from I(Ohai) description: - - Similar to the M(community.general.facter) module, this runs the I(Ohai) discovery program - (U(https://docs.chef.io/ohai.html)) on the remote host and - returns JSON inventory data. - I(Ohai) data is a bit more verbose and nested than I(facter). + - Similar to the M(community.general.facter) module, this runs the I(Ohai) discovery program + (U(https://docs.chef.io/ohai.html)) on the remote host and + returns JSON inventory data. + I(Ohai) data is a bit more verbose and nested than I(facter). +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: none + diff_mode: + support: none options: {} notes: [] requirements: [ "ohai" ] author: - - "Ansible Core Team" - - "Michael DeHaan (@mpdehaan)" + - "Ansible Core Team" + - "Michael DeHaan (@mpdehaan)" ''' EXAMPLES = ''' diff --git a/plugins/modules/omapi_host.py b/plugins/modules/omapi_host.py index 4e3a6247d6..c93c578535 100644 --- a/plugins/modules/omapi_host.py +++ b/plugins/modules/omapi_host.py @@ -18,7 +18,14 @@ description: Manage OMAPI hosts into compatible DHCPd servers requirements: - pypureomapi author: -- Loic Blot (@nerzhul) + - Loic Blot (@nerzhul) +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: none + diff_mode: + support: none options: state: description: diff --git a/plugins/modules/open_iscsi.py b/plugins/modules/open_iscsi.py index 7704fd8b7f..af08d1c54f 100644 --- a/plugins/modules/open_iscsi.py +++ b/plugins/modules/open_iscsi.py @@ -12,13 +12,20 @@ DOCUMENTATION = r''' --- module: open_iscsi author: -- Serge van Ginderachter (@srvg) + - Serge van Ginderachter (@srvg) short_description: Manage iSCSI targets with Open-iSCSI description: - Discover targets on given portal, (dis)connect targets, mark targets to manually or auto start, return device nodes of connected targets. requirements: - open_iscsi library and tools (iscsiadm) +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: portal: description: diff --git a/plugins/modules/opendj_backendprop.py b/plugins/modules/opendj_backendprop.py index 7e620c4305..fed53532d9 100644 --- a/plugins/modules/opendj_backendprop.py +++ b/plugins/modules/opendj_backendprop.py @@ -13,10 +13,17 @@ DOCUMENTATION = ''' module: opendj_backendprop short_description: Will update the backend configuration of OpenDJ via the dsconfig set-backend-prop command description: - - This module will update settings for OpenDJ with the command set-backend-prop. - - It will check first via de get-backend-prop if configuration needs to be applied. + - This module will update settings for OpenDJ with the command set-backend-prop. + - It will check first via de get-backend-prop if configuration needs to be applied. author: - Werner Dijkerman (@dj-wasabi) +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: opendj_bindir: description: diff --git a/plugins/modules/openwrt_init.py b/plugins/modules/openwrt_init.py index 978a6bec35..a0e156b33a 100644 --- a/plugins/modules/openwrt_init.py +++ b/plugins/modules/openwrt_init.py @@ -15,6 +15,13 @@ author: short_description: Manage services on OpenWrt description: - Controls OpenWrt services on remote hosts. +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: name: type: str diff --git a/plugins/modules/pacemaker_cluster.py b/plugins/modules/pacemaker_cluster.py index a71c1b0044..47b827908f 100644 --- a/plugins/modules/pacemaker_cluster.py +++ b/plugins/modules/pacemaker_cluster.py @@ -13,10 +13,17 @@ DOCUMENTATION = ''' module: pacemaker_cluster short_description: Manage pacemaker clusters author: -- Mathieu Bultel (@matbu) + - Mathieu Bultel (@matbu) description: - - This module can manage a pacemaker cluster and nodes from Ansible using - the pacemaker cli. + - This module can manage a pacemaker cluster and nodes from Ansible using + the pacemaker cli. +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: state: description: diff --git a/plugins/modules/pmem.py b/plugins/modules/pmem.py index 8cc14c4693..d7fcb8e010 100644 --- a/plugins/modules/pmem.py +++ b/plugins/modules/pmem.py @@ -20,6 +20,13 @@ description: requirements: - ipmctl and ndctl command line tools - xmltodict +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: none + diff_mode: + support: none options: appdirect: description: diff --git a/plugins/modules/pubnub_blocks.py b/plugins/modules/pubnub_blocks.py index 7d15b0d9eb..a03553c5c7 100644 --- a/plugins/modules/pubnub_blocks.py +++ b/plugins/modules/pubnub_blocks.py @@ -20,21 +20,28 @@ module: pubnub_blocks short_description: PubNub blocks management module description: - "This module allows Ansible to interface with the PubNub BLOCKS - infrastructure by providing the following operations: create / remove, - start / stop and rename for blocks and create / modify / remove for event - handlers" + infrastructure by providing the following operations: create / remove, + start / stop and rename for blocks and create / modify / remove for event + handlers." author: - PubNub (@pubnub) - Sergey Mamontov (@parfeon) requirements: - "python >= 2.7" - "pubnub_blocks_client >= 1.0" +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: email: description: - Email from account for which new session should be started. - "Not required if C(cache) contains result of previous module call (in - same play)." + same play)." required: false type: str default: '' @@ -42,7 +49,7 @@ options: description: - Password which match to account to which specified C(email) belong. - "Not required if C(cache) contains result of previous module call (in - same play)." + same play)." required: false type: str default: '' @@ -57,14 +64,14 @@ options: account: description: - "Name of PubNub account for from which C(application) will be used to - manage blocks." + manage blocks." - "User's account will be used if value not set or empty." type: str default: '' application: description: - "Name of target PubNub application for which blocks configuration on - specific C(keyset) will be done." + specific C(keyset) will be done." type: str required: true keyset: @@ -75,7 +82,7 @@ options: state: description: - "Intended block state after event handlers creation / update process - will be completed." + will be completed." required: false default: 'present' choices: ['started', 'stopped', 'present', 'absent'] @@ -95,23 +102,23 @@ options: event_handlers: description: - "List of event handlers which should be updated for specified block - C(name)." + C(name)." - "Each entry for new event handler should contain: C(name), C(src), - C(channels), C(event). C(name) used as event handler name which can be - used later to make changes to it." + C(channels), C(event). C(name) used as event handler name which can be + used later to make changes to it." - C(src) is full path to file with event handler code. - "C(channels) is name of channel from which event handler is waiting - for events." + for events." - "C(event) is type of event which is able to trigger event handler: - I(js-before-publish), I(js-after-publish), I(js-after-presence)." + I(js-before-publish), I(js-after-publish), I(js-after-presence)." - "Each entry for existing handlers should contain C(name) (so target - handler can be identified). Rest parameters (C(src), C(channels) and - C(event)) can be added if changes required for them." + handler can be identified). Rest parameters (C(src), C(channels) and + C(event)) can be added if changes required for them." - "It is possible to rename event handler by adding C(changes) key to - event handler payload and pass dictionary, which will contain single key - C(name), where new name should be passed." + event handler payload and pass dictionary, which will contain single key + C(name), where new name should be passed." - "To remove particular event handler it is possible to set C(state) for - it to C(absent) and it will be removed." + it to C(absent) and it will be removed." required: false default: [] type: list @@ -119,7 +126,7 @@ options: changes: description: - "List of fields which should be changed by block itself (doesn't - affect any event handlers)." + affect any event handlers)." - "Possible options for change is: C(name)." required: false default: {} @@ -127,8 +134,8 @@ options: validate_certs: description: - "This key allow to try skip certificates check when performing REST API - calls. Sometimes host may have issues with certificates on it and this - will cause problems to call PubNub REST API." + calls. Sometimes host may have issues with certificates on it and this + will cause problems to call PubNub REST API." - If check should be ignored C(False) should be passed to this parameter. required: false default: true @@ -224,9 +231,10 @@ EXAMPLES = ''' RETURN = ''' module_cache: - description: "Cached account information. In case if with single play module - used few times it is better to pass cached data to next module calls to speed - up process." + description: + - Cached account information. In case if with single play module + used few times it is better to pass cached data to next module calls to speed + up process. type: dict returned: always ''' diff --git a/plugins/modules/pulp_repo.py b/plugins/modules/pulp_repo.py index 9e100ba93e..d7333f89ec 100644 --- a/plugins/modules/pulp_repo.py +++ b/plugins/modules/pulp_repo.py @@ -18,6 +18,11 @@ short_description: Add or remove Pulp repos from a remote host description: - Add or remove Pulp repos from a remote host. - Note, this is for Pulp 2 only. +attributes: + check_mode: + support: full + diff_mode: + support: none options: add_export_distributor: description: @@ -165,7 +170,8 @@ notes: - This module can currently only create distributors and importers on rpm repositories. Contributions to support other repo types are welcome. extends_documentation_fragment: - - url + - ansible.builtin.url + - community.general.attributes ''' EXAMPLES = ''' diff --git a/plugins/modules/puppet.py b/plugins/modules/puppet.py index 8454bb60fd..a93dddc63e 100644 --- a/plugins/modules/puppet.py +++ b/plugins/modules/puppet.py @@ -14,6 +14,13 @@ module: puppet short_description: Runs puppet description: - Runs I(puppet) agent or apply in a reliable manner. +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: timeout: description: diff --git a/plugins/modules/pushbullet.py b/plugins/modules/pushbullet.py index a3e4104554..c7e20c3733 100644 --- a/plugins/modules/pushbullet.py +++ b/plugins/modules/pushbullet.py @@ -16,7 +16,14 @@ requirements: [ pushbullet.py ] module: pushbullet short_description: Sends notifications to Pushbullet description: - - This module sends push notifications via Pushbullet to channels or devices. + - This module sends push notifications via Pushbullet to channels or devices. +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: api_key: type: str diff --git a/plugins/modules/pushover.py b/plugins/modules/pushover.py index c4c12a4670..f5493731fa 100644 --- a/plugins/modules/pushover.py +++ b/plugins/modules/pushover.py @@ -14,11 +14,18 @@ DOCUMENTATION = ''' module: pushover short_description: Send notifications via U(https://pushover.net) description: - - Send notifications via pushover, to subscriber list of devices, and email - addresses. Requires pushover app on devices. + - Send notifications via pushover, to subscriber list of devices, and email + addresses. Requires pushover app on devices. notes: - - You will require a pushover.net account to use this module. But no account - is required to receive messages. + - You will require a pushover.net account to use this module. But no account + is required to receive messages. +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: none + diff_mode: + support: none options: msg: type: str diff --git a/plugins/modules/serverless.py b/plugins/modules/serverless.py index 4d36ba679a..67d673d4d7 100644 --- a/plugins/modules/serverless.py +++ b/plugins/modules/serverless.py @@ -13,7 +13,14 @@ DOCUMENTATION = r''' module: serverless short_description: Manages a Serverless Framework project description: - - Provides support for managing Serverless Framework (https://serverless.com/) project deployments and stacks. + - Provides support for managing Serverless Framework (U(https://serverless.com/)) project deployments and stacks. +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: none + diff_mode: + support: none options: state: description: diff --git a/plugins/modules/sl_vm.py b/plugins/modules/sl_vm.py index ca925c345f..94055d1d22 100644 --- a/plugins/modules/sl_vm.py +++ b/plugins/modules/sl_vm.py @@ -15,6 +15,13 @@ short_description: Create or cancel a virtual instance in SoftLayer description: - Creates or cancels SoftLayer instances. - When created, optionally waits for it to be 'running'. +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: none + diff_mode: + support: none options: instance_id: description: diff --git a/plugins/modules/ss_3par_cpg.py b/plugins/modules/ss_3par_cpg.py index f692ff3ecb..32c1cd443f 100644 --- a/plugins/modules/ss_3par_cpg.py +++ b/plugins/modules/ss_3par_cpg.py @@ -18,6 +18,11 @@ author: description: - Create and delete CPG on HPE 3PAR. module: ss_3par_cpg +attributes: + check_mode: + support: none + diff_mode: + support: none options: cpg_name: description: @@ -88,6 +93,7 @@ options: default: false extends_documentation_fragment: - community.general.hpe3par +- community.general.attributes ''' diff --git a/plugins/modules/vdo.py b/plugins/modules/vdo.py index d2d4afe944..f1ea40e2e4 100644 --- a/plugins/modules/vdo.py +++ b/plugins/modules/vdo.py @@ -24,6 +24,15 @@ description: provides inline block-level deduplication, compression, and thin provisioning capabilities to primary storage. +extends_documentation_fragment: + - community.general.attributes + +attributes: + check_mode: + support: none + diff_mode: + support: none + options: name: description: diff --git a/plugins/modules/vexata_eg.py b/plugins/modules/vexata_eg.py index f1d3960406..457d1fa9ed 100644 --- a/plugins/modules/vexata_eg.py +++ b/plugins/modules/vexata_eg.py @@ -20,6 +20,11 @@ description: through specific array ports. author: - Sandeep Kasargod (@vexata) +attributes: + check_mode: + support: full + diff_mode: + support: none options: name: description: @@ -46,6 +51,7 @@ options: type: str extends_documentation_fragment: - community.general.vexata.vx100 +- community.general.attributes ''' diff --git a/plugins/modules/vexata_volume.py b/plugins/modules/vexata_volume.py index e443e5f6c4..7fdfc7e5fa 100644 --- a/plugins/modules/vexata_volume.py +++ b/plugins/modules/vexata_volume.py @@ -17,6 +17,11 @@ description: - Create, deletes or extend volumes on a Vexata VX100 array. author: - Sandeep Kasargod (@vexata) +attributes: + check_mode: + support: full + diff_mode: + support: none options: name: description: @@ -35,6 +40,7 @@ options: type: str extends_documentation_fragment: - community.general.vexata.vx100 +- community.general.attributes ''' diff --git a/plugins/modules/wakeonlan.py b/plugins/modules/wakeonlan.py index bbdbcfdeff..6d7e094527 100644 --- a/plugins/modules/wakeonlan.py +++ b/plugins/modules/wakeonlan.py @@ -14,7 +14,14 @@ DOCUMENTATION = r''' module: wakeonlan short_description: Send a magic Wake-on-LAN (WoL) broadcast packet description: -- The C(wakeonlan) module sends magic Wake-on-LAN (WoL) broadcast packets. + - The C(wakeonlan) module sends magic Wake-on-LAN (WoL) broadcast packets. +extends_documentation_fragment: + - community.general.attributes +attributes: + check_mode: + support: full + diff_mode: + support: none options: mac: description: diff --git a/plugins/modules/znode.py b/plugins/modules/znode.py index d9d05c3170..66f11465d6 100644 --- a/plugins/modules/znode.py +++ b/plugins/modules/znode.py @@ -14,6 +14,13 @@ module: znode short_description: Create, delete, retrieve, and update znodes using ZooKeeper description: - Create, delete, retrieve, and update znodes using ZooKeeper. +attributes: + check_mode: + support: none + diff_mode: + support: none +extends_documentation_fragment: + - community.general.attributes options: hosts: description: