Convert to reduced list of known types (#50010)

This commit is contained in:
Dag Wieers 2018-12-18 22:25:30 +01:00 committed by Jordan Borean
parent fcd1486b51
commit 05c6ff79f9
908 changed files with 4822 additions and 4821 deletions

View file

@ -124,17 +124,17 @@ cmd:
delta:
description: cmd end time - cmd start time
returned: always
type: string
type: str
sample: 0:00:00.001529
end:
description: cmd end time
returned: always
type: string
type: str
sample: '2017-09-29 22:03:48.084657'
start:
description: cmd start time
returned: always
type: string
type: str
sample: '2017-09-29 22:03:48.083128'
'''

View file

@ -146,37 +146,37 @@ RETURN = r'''
msg:
description: changed
returned: always
type: boolean
type: bool
sample: True
start:
description: The command execution start time
returned: always
type: string
type: str
sample: '2016-02-25 09:18:26.429568'
end:
description: The command execution end time
returned: always
type: string
type: str
sample: '2016-02-25 09:18:26.755339'
delta:
description: The command execution delta time
returned: always
type: string
type: str
sample: '0:00:00.325771'
stdout:
description: The command standard output
returned: always
type: string
type: str
sample: 'Clustering node rabbit@slave1 with rabbit@master ...'
stderr:
description: The command standard error
returned: always
type: string
type: str
sample: 'ls: cannot access foo: No such file or directory'
cmd:
description: The command executed by the task
returned: always
type: string
type: str
sample: 'rabbitmqctl join_cluster rabbit@master'
rc:
description: The command return code (0 means success)