document slurp returns (#73865)

* no path on return
This commit is contained in:
Brian Coca 2021-03-11 15:28:47 -05:00 committed by GitHub
parent bd020dd14a
commit b486feaaf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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