|
|
|
@ -224,57 +224,57 @@ EXAMPLES = r'''
|
|
|
|
|
|
|
|
|
|
RETURN = r'''
|
|
|
|
|
exists:
|
|
|
|
|
description: whether the service exists or not
|
|
|
|
|
description: Whether the service exists or not.
|
|
|
|
|
returned: success
|
|
|
|
|
type: boolean
|
|
|
|
|
sample: true
|
|
|
|
|
name:
|
|
|
|
|
description: the service name or id of the service
|
|
|
|
|
description: The service name or id of the service.
|
|
|
|
|
returned: success and service exists
|
|
|
|
|
type: string
|
|
|
|
|
sample: CoreMessagingRegistrar
|
|
|
|
|
display_name:
|
|
|
|
|
description: the display name of the installed service
|
|
|
|
|
description: The display name of the installed service.
|
|
|
|
|
returned: success and service exists
|
|
|
|
|
type: string
|
|
|
|
|
sample: CoreMessaging
|
|
|
|
|
status:
|
|
|
|
|
description: the current running status of the service
|
|
|
|
|
state:
|
|
|
|
|
description: The current running status of the service.
|
|
|
|
|
returned: success and service exists
|
|
|
|
|
type: string
|
|
|
|
|
sample: stopped
|
|
|
|
|
start_mode:
|
|
|
|
|
description: the startup type of the service
|
|
|
|
|
description: The startup type of the service.
|
|
|
|
|
returned: success and service exists
|
|
|
|
|
type: string
|
|
|
|
|
sample: manual
|
|
|
|
|
path:
|
|
|
|
|
description: path to the service
|
|
|
|
|
description: The path to the service executable.
|
|
|
|
|
returned: success and service exists
|
|
|
|
|
type: string
|
|
|
|
|
sample: C:\Windows\system32\svchost.exe -k LocalServiceNoNetwork
|
|
|
|
|
description:
|
|
|
|
|
description: the path to the executable of the service
|
|
|
|
|
description: The description of the service.
|
|
|
|
|
returned: success and service exists
|
|
|
|
|
type: string
|
|
|
|
|
sample: Manages communication between system components.
|
|
|
|
|
username:
|
|
|
|
|
description: the username that runs the service
|
|
|
|
|
description: The username that runs the service.
|
|
|
|
|
returned: success and service exists
|
|
|
|
|
type: string
|
|
|
|
|
sample: LocalSystem
|
|
|
|
|
desktop_interact:
|
|
|
|
|
description: Whether the current user is allowed to interact with the desktop
|
|
|
|
|
description: Whether the current user is allowed to interact with the desktop.
|
|
|
|
|
returned: success and service exists
|
|
|
|
|
type: boolean
|
|
|
|
|
sample: False
|
|
|
|
|
dependencies:
|
|
|
|
|
description: A list of dependencies the service relies on
|
|
|
|
|
description: A list of services that is depended by this service.
|
|
|
|
|
returned: success and service exists
|
|
|
|
|
type: list
|
|
|
|
|
sample: False
|
|
|
|
|
depended_by:
|
|
|
|
|
description: A list of dependencies this service relies on
|
|
|
|
|
description: A list of services that depend on this service.
|
|
|
|
|
returned: success and service exists
|
|
|
|
|
type: list
|
|
|
|
|
sample: False
|
|
|
|
|