Skip to content

Commit

Permalink
Add attributes to more modules (4/4) (#5968)
Browse files Browse the repository at this point in the history
* Add attributes to more modules.

* Adjust indentation.

Co-authored-by: Kristian Heljas <[email protected]>

---------

Co-authored-by: Kristian Heljas <[email protected]>
  • Loading branch information
felixfontein and kristianheljas authored Feb 20, 2023
1 parent d03ae53 commit 4b262e3
Show file tree
Hide file tree
Showing 15 changed files with 109 additions and 4 deletions.
9 changes: 8 additions & 1 deletion plugins/modules/solaris_zone.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,16 @@
- Create, start, stop and delete Solaris zones.
- This module does not currently allow changing of options for a zone that is already been created.
author:
- Paul Markham (@pmarkham)
- Paul Markham (@pmarkham)
requirements:
- Solaris 10 or 11
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
state:
description:
Expand Down
7 changes: 7 additions & 0 deletions plugins/modules/sorcery.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
yet supported.
requirements:
- bash
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
name:
description:
Expand Down
7 changes: 7 additions & 0 deletions plugins/modules/spotinst_aws_elastigroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
requirements:
- python >= 2.7
- spotinst_sdk >= 1.0.38
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
credentials_path:
Expand Down
7 changes: 7 additions & 0 deletions plugins/modules/stackdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
description:
- Send code deploy and annotation events to Stackdriver
author: "Ben Whaley (@bwhaley)"
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
key:
type: str
Expand Down
7 changes: 7 additions & 0 deletions plugins/modules/stacki_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
description:
- Use this module to add or remove hosts to a stacki front-end via API.
- Information on stacki can be found at U(https://github.com/StackIQ/stacki).
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
name:
description:
Expand Down
7 changes: 7 additions & 0 deletions plugins/modules/statsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
author: "Mark Mercado (@mamercad)"
requirements:
- statsd
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
state:
type: str
Expand Down
7 changes: 7 additions & 0 deletions plugins/modules/statusio_maintenance.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
capture API traffic
- Use start_date and start_time with minutes to set future maintenance window
author: Benjamin Copeland (@bhcopeland) <[email protected]>
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
title:
type: str
Expand Down
9 changes: 8 additions & 1 deletion plugins/modules/supervisorctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@
module: supervisorctl
short_description: Manage the state of a program or group of programs running via supervisord
description:
- Manage the state of a program or group of programs running via supervisord
- Manage the state of a program or group of programs running via supervisord
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
name:
type: str
Expand Down
7 changes: 7 additions & 0 deletions plugins/modules/svc.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
short_description: Manage daemontools services
description:
- Controls daemontools services on remote hosts using the svc utility.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
name:
description:
Expand Down
7 changes: 7 additions & 0 deletions plugins/modules/swdepot.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
- Will install, upgrade and remove packages with swdepot package manager (HP-UX)
notes: []
author: "Raul Melo (@melodous)"
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
name:
description:
Expand Down
7 changes: 7 additions & 0 deletions plugins/modules/swupd.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
- Manages updates and bundles with the swupd bundle manager, which is used by the
Clear Linux Project for Intel Architecture.
author: Alberto Murillo (@albertomurillo)
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
contenturl:
description:
Expand Down
11 changes: 9 additions & 2 deletions plugins/modules/terraform.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@
module: terraform
short_description: Manages a Terraform deployment (and plans)
description:
- Provides support for deploying resources with Terraform and pulling
resource information back into Ansible.
- Provides support for deploying resources with Terraform and pulling
resource information back into Ansible.
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
state:
choices: ['planned', 'present', 'absent']
Expand Down
7 changes: 7 additions & 0 deletions plugins/modules/uptimerobot.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
author: "Nate Kingsley (@nate-kingsley)"
requirements:
- Valid Uptime Robot API Key
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
state:
type: str
Expand Down
7 changes: 7 additions & 0 deletions plugins/modules/urpmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
short_description: Urpmi manager
description:
- Manages packages with I(urpmi) (such as for Mageia or Mandriva)
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: none
diff_mode:
support: none
options:
name:
description:
Expand Down
7 changes: 7 additions & 0 deletions plugins/modules/vmadm.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
description:
- Manage SmartOS virtual machines through vmadm(1M).
author: Jasper Lievisse Adriaanse (@jasperla)
extends_documentation_fragment:
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
archive_on_delete:
required: false
Expand Down

0 comments on commit 4b262e3

Please sign in to comment.