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
commit 05c6ff79f9
908 changed files with 4822 additions and 4821 deletions

View file

@ -211,7 +211,7 @@ RETURN = '''
cmd:
description: pip command used by the module
returned: success
type: string
type: str
sample: pip2 install ansible six
name:
description: list of python modules targetted by pip
@ -221,17 +221,17 @@ name:
requirements:
description: Path to the requirements file
returned: success, if a requirements file was provided
type: string
type: str
sample: "/srv/git/project/requirements.txt"
version:
description: Version of the package specified in 'name'
returned: success, if a name and version were provided
type: string
type: str
sample: "2.5.1"
virtualenv:
description: Path to the virtualenv
returned: success, if a virtualenv path was provided
type: string
type: str
sample: "/tmp/virtualenv"
'''

View file

@ -120,17 +120,17 @@ RETURN = '''
changed:
description: Whether Yarn changed any package data
returned: always
type: boolean
type: bool
sample: true
msg:
description: Provides an error message if Yarn syntax was incorrect
returned: failure
type: string
type: str
sample: "Package must be explicitly named when uninstalling."
invocation:
description: Parameters and values used during execution
returned: success
type: dictionary
type: dict
sample: {
"module_args": {
"executable": null,
@ -147,7 +147,7 @@ invocation:
out:
description: Output generated from Yarn with emojis removed.
returned: always
type: string
type: str
sample: "yarn add v0.16.1[1/4] Resolving packages...[2/4] Fetching packages...[3/4] Linking dependencies...[4/4]
Building fresh packages...success Saved lockfile.success Saved 1 new dependency..left-pad@1.1.3 Done in 0.59s."
'''