1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-26 21:52:48 +00:00

aix_*: docs adjustments (#11291)

This commit is contained in:
Alexei Znamensky 2025-12-16 10:16:55 +13:00 committed by GitHub
parent ef632145e9
commit 4632e3d5ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 13 deletions

View file

@ -34,7 +34,7 @@ options:
required: true
action:
description:
- Action what the init has to do with this entry.
- Action the C(init) process performs for this entry.
type: str
choices:
- boot
@ -51,25 +51,23 @@ options:
- wait
command:
description:
- What command has to run.
- Command to be executed.
type: str
required: true
insertafter:
description:
- After which inittabline should the new entry inserted.
- After which C(inittab) line should the new entry inserted.
type: str
state:
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
choices: [absent, present]
default: present
notes:
- 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.
requirements:
- itertools
"""
EXAMPLES = r"""
@ -115,9 +113,6 @@ name:
from ansible.module_utils.basic import AnsibleModule
# end import modules
# start defining the functions
def check_current_entry(module):
# Check if entry exists, if not return False in exists in return dict,