[PR #11291/4632e3d5 backport][stable-12] aix_*: docs adjustments (#11292)

aix_*: docs adjustments (#11291)

(cherry picked from commit 4632e3d5ee)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2025-12-16 07:02:24 +01:00
committed by GitHub
parent 19257bac40
commit 8590184232
3 changed files with 8 additions and 13 deletions

View File

@@ -103,7 +103,7 @@ options:
- Specifies an existing volume group (VG). - Specifies an existing volume group (VG).
type: str type: str
notes: notes:
- For more O(attributes), please check "crfs" AIX manual. - For more O(attributes), please check C(crfs) AIX manual.
""" """
EXAMPLES = r""" EXAMPLES = r"""

View File

@@ -34,7 +34,7 @@ options:
required: true required: true
action: action:
description: description:
- Action what the init has to do with this entry. - Action the C(init) process performs for this entry.
type: str type: str
choices: choices:
- boot - boot
@@ -51,25 +51,23 @@ options:
- wait - wait
command: command:
description: description:
- What command has to run. - Command to be executed.
type: str type: str
required: true required: true
insertafter: insertafter:
description: description:
- After which inittabline should the new entry inserted. - After which C(inittab) line should the new entry inserted.
type: str type: str
state: state:
description: description:
- Whether the entry should be present or absent in the inittab file. - Whether the entry should be present or absent in the C(inittab) file.
type: str type: str
choices: [absent, present] choices: [absent, present]
default: present default: present
notes: notes:
- The changes are persistent across reboots. - The changes are persistent across reboots.
- You need root rights to read or adjust the inittab with the C(lsitab), C(chitab), C(mkitab) or C(rmitab) commands. - You need root rights to read or adjust the C(inittab) with the C(lsitab), C(chitab), C(mkitab) or C(rmitab) commands.
- Tested on AIX 7.1. - Tested on AIX 7.1.
requirements:
- itertools
""" """
EXAMPLES = r""" EXAMPLES = r"""
@@ -115,9 +113,6 @@ name:
from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.basic import AnsibleModule
# end import modules
# start defining the functions
def check_current_entry(module): def check_current_entry(module):
# Check if entry exists, if not return False in exists in return dict, # Check if entry exists, if not return False in exists in return dict,

View File

@@ -13,7 +13,7 @@ author:
module: aix_lvol module: aix_lvol
short_description: Configure AIX LVM logical volumes short_description: Configure AIX LVM logical volumes
description: description:
- This module creates, removes or resizes AIX logical volumes. Inspired by lvol module. - This module creates, removes or resizes AIX logical volumes. Inspired by M(community.general.lvol) module.
extends_documentation_fragment: extends_documentation_fragment:
- community.general.attributes - community.general.attributes
attributes: attributes:
@@ -69,7 +69,7 @@ options:
default: '' default: ''
pvs: pvs:
description: description:
- A list of physical volumes, for example V(hdisk1,hdisk2). - A list of physical volumes, for example V([hdisk1, hdisk2]).
type: list type: list
elements: str elements: str
default: [] default: []