Document return values for command module
This commit is contained in:
parent
afa3206205
commit
b7fbc57227
1 changed files with 25 additions and 0 deletions
|
@ -87,6 +87,31 @@ EXAMPLES = '''
|
|||
register: myoutput
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
cmd:
|
||||
description: the cmd that was run on the remote machine
|
||||
returned: always
|
||||
type: list
|
||||
sample:
|
||||
- echo
|
||||
- hello
|
||||
delta:
|
||||
description: cmd end time - cmd start time
|
||||
returned: always
|
||||
type: string
|
||||
sample: '0:00:00.001529'
|
||||
end:
|
||||
description: cmd end time
|
||||
returned: always
|
||||
type: string
|
||||
sample: '2017-09-29 22:03:48.084657'
|
||||
start:
|
||||
description: cmd start time
|
||||
returned: always
|
||||
type: string
|
||||
sample: '2017-09-29 22:03:48.083128'
|
||||
'''
|
||||
|
||||
import datetime
|
||||
import glob
|
||||
import os
|
||||
|
|
Loading…
Reference in a new issue