document slurp returns (#73865)

* no path on return
pull/73871/head
Brian Coca 5 years ago committed by GitHub
parent bd020dd14a
commit b486feaaf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -58,7 +58,23 @@ EXAMPLES = r'''
# 2179
'''
RETURN = r'''#'''
RETURN = r'''
content:
description: Encoded file content
returned: success
type: str
sample: "MjE3OQo="
encoding:
description: Type of encoding used for file
returned: success
type: str
sample: "base64"
source:
description: Actual path of file slurped
returned: success
type: str
sample: "/var/run/sshd.pid"
'''
import base64
import os

Loading…
Cancel
Save