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

@ -227,32 +227,32 @@ RETURN = '''
after:
description: last commit revision of the repository retrieved during the update
returned: success
type: string
type: str
sample: 4c020102a9cd6fe908c9a4a326a38f972f63a903
before:
description: commit revision before the repository was updated, "null" for new repository
returned: success
type: string
type: str
sample: 67c04ebe40a003bda0efb34eacfb93b0cafdf628
remote_url_changed:
description: Contains True or False whether or not the remote URL was changed.
returned: success
type: boolean
type: bool
sample: True
warnings:
description: List of warnings if requested features were not available due to a too old git version.
returned: error
type: string
type: str
sample: Your git version is too old to fully support the depth argument. Falling back to full checkouts.
git_dir_now:
description: Contains the new path of .git directory if it's changed
returned: success
type: string
type: str
sample: /path/to/new/git/dir
git_dir_before:
description: Contains the original path of .git directory if it's changed
returned: success
type: string
type: str
sample: /path/to/old/git/dir
'''

View file

@ -125,13 +125,13 @@ RETURN = '''
config_value:
description: When list_all=no and value is not set, a string containing the value of the setting in name
returned: success
type: string
type: str
sample: "vim"
config_values:
description: When list_all=yes, a dict containing key/value pairs of multiple configuration settings
returned: success
type: dictionary
type: dict
sample:
core.editor: "vim"
color.ui: "auto"

View file

@ -129,7 +129,7 @@ RETURN = '''
msg:
description: the status message describing what occurred
returned: always
type: string
type: str
sample: "Deploy key added successfully"
http_status_code:
@ -141,7 +141,7 @@ http_status_code:
error:
description: the error message returned by the GitHub API
returned: failed
type: string
type: str
sample: "key is already in use"
id:

View file

@ -46,7 +46,7 @@ requirements:
RETURN = '''
get_status:
description: State of the GitHub issue
type: string
type: str
returned: success
sample: open, closed
'''

View file

@ -116,13 +116,13 @@ create_release:
- Version of the created release
- "For Ansible version 2.5 and later, if specified release version already exists, then State is unchanged"
- "For Ansible versions prior to 2.5, if specified release version already exists, then State is skipped"
type: string
type: str
returned: success
sample: 1.1.0
latest_release:
description: Version of the latest release
type: string
type: str
returned: success
sample: 1.1.0
'''

View file

@ -96,7 +96,7 @@ RETURN = '''
msg:
description: Success or failure message
returned: always
type: string
type: str
sample: "Success"
result:
@ -107,7 +107,7 @@ result:
error:
description: the error message returned by the Gitlab API
returned: failed
type: string
type: str
sample: "400: key is already in use"
previous_version:

View file

@ -148,7 +148,7 @@ RETURN = '''
msg:
description: Success or failure message
returned: always
type: string
type: str
sample: "Success"
result:
@ -159,7 +159,7 @@ result:
error:
description: the error message returned by the Gitlab API
returned: failed
type: string
type: str
sample: "400: key is already in use"
previous_version:

View file

@ -138,7 +138,7 @@ RETURN = '''
changed:
description: Values changed on the API
returned: changed
type: boolean
type: bool
sample: false
msg:
description: Information returned from the API when updating a runner, a create only returns the id and token.