adjusted descriptions in DOCUMENTATION, and fixed type in RETURN

pull/24271/head^2
Joris (J.J.M.) Weijters 7 years ago committed by Toshio Kuratomi
parent e7b477299b
commit 2a7ce1059d

@ -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

Loading…
Cancel
Save