1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

adjusted descriptions in DOCUMENTATION, and fixed type in RETURN

This commit is contained in:
Joris (J.J.M.) Weijters 2017-05-02 13:05:08 +02:00 committed by Toshio Kuratomi
parent e7b477299b
commit 2a7ce1059d

View file

@ -34,14 +34,17 @@ description:
version_added: "2.3" version_added: "2.3"
options: options:
name: name:
description: Name of the inittab entry. description:
- Name of the inittab entry.
required: True required: True
aliases: ['service'] aliases: ['service']
runlevel: runlevel:
description: Runlevel of the entry. description:
- Runlevel of the entry.
required: True required: True
action: action:
description: Action what the init has to do with this entry. description:
- Action what the init has to do with this entry.
required: True required: True
choices: [ choices: [
'respawn', 'respawn',
@ -58,12 +61,15 @@ options:
'sysinit' 'sysinit'
] ]
command: command:
description: What command has to run. description:
- What command has to run.
required: True required: True
insertafter: insertafter:
description: After which inittabline should the new entry inserted. description:
- After which inittabline should the new entry inserted.
state: state:
description: Whether the entry should be present or absent in the inittab file description:
- Whether the entry should be present or absent in the inittab file
choices: [ "present", "absent" ] choices: [ "present", "absent" ]
default: present default: present
notes: notes:
@ -112,7 +118,7 @@ name:
returned: always returned: always
type: string type: string
sample: startmyservice sample: startmyservice
mgs: msg:
description: action done with the inittab entry description: action done with the inittab entry
returned: changed returned: changed
type: string type: string