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

View File

@@ -50,7 +50,7 @@ id:
status:
description: status of the cancel request
returned: success
type: string
type: str
sample: canceled
'''

View File

@@ -78,7 +78,7 @@ id:
status:
description: status of newly launched job
returned: success
type: string
type: str
sample: pending
'''

View File

@@ -67,17 +67,17 @@ elapsed:
started:
description: timestamp of when the job started running
returned: success
type: string
type: str
sample: "2017-03-01T17:03:53.200234Z"
finished:
description: timestamp of when the job finished running
returned: success
type: string
type: str
sample: "2017-03-01T17:04:04.078782Z"
status:
description: current status of job
returned: success
type: string
type: str
sample: successful
'''

View File

@@ -87,7 +87,7 @@ RETURN = '''
result:
description: message about action taken
returned: always
type: string
type: str
warnings:
description: list of warning messages
returned: when needed
@@ -99,11 +99,11 @@ rc:
stdout:
description: stdout of underlying command
returned: failed
type: string
type: str
stderr:
description: stderr of underlying command
returned: failed
type: string
type: str
'''
import re

View File

@@ -92,7 +92,7 @@ RETURN = '''
gunicorn:
description: process id of gunicorn
returned: changed
type: string
type: str
sample: "1234"
'''

View File

@@ -122,12 +122,12 @@ RETURN = '''
name:
description: Name of the jenkins job.
returned: success
type: string
type: str
sample: test-job
state:
description: State of the jenkins job.
returned: success
type: string
type: str
sample: present
enabled:
description: Whether the jenkins job is enabled or not.
@@ -137,12 +137,12 @@ enabled:
user:
description: User used for authentication.
returned: success
type: string
type: str
sample: admin
url:
description: Url to connect to the Jenkins server.
returned: success
type: string
type: str
sample: https://jenkins.mydomain.com
'''

View File

@@ -252,12 +252,12 @@ RETURN = '''
plugin:
description: plugin name
returned: success
type: string
type: str
sample: build-pipeline-plugin
state:
description: state of the target, after execution
returned: success
type: string
type: str
sample: "present"
'''

View File

@@ -98,7 +98,7 @@ RETURN = '''
output:
description: Result of script
returned: success
type: string
type: str
sample: 'Result: true'
'''

View File

@@ -89,7 +89,7 @@ nginx_status_facts.waiting:
nginx_status_facts.data:
description: HTTP response as is.
returned: success
type: string
type: str
sample: "Active connections: 2340 \nserver accepts handled requests\n 81769947 81769947 144332345 \nReading: 0 Writing: 241 Waiting: 2092 \n"
'''

View File

@@ -88,7 +88,7 @@ RETURN = '''
rundeck_response:
description: Rundeck response when a failure occurs.
returned: failed
type: string
type: str
before:
description: dictionnary containing ACL policy informations before modification.
returned: success

View File

@@ -71,7 +71,7 @@ RETURN = '''
rundeck_response:
description: Rundeck response when a failure occurs
returned: failed
type: string
type: str
before:
description: dictionnary containing project informations before modification
returned: success

View File

@@ -93,34 +93,34 @@ result:
contains:
_ref:
description: The reference name of the object
type: string
type: str
_locked:
description: Whether or not the object is currently locked
type: boolean
type: bool
name:
description: The name of the object
type: string
type: str
address:
description: The ipv4 address of the object
type: string
type: str
address6:
description: The ipv6 adress of the object
type: string
type: str
comment:
description: The comment string
type: string
type: str
hostname:
description: The hostname of the object
type: string
type: str
interface:
description: The reference name of the interface the object is associated with
type: string
type: str
resolved:
description: Whether the ipv4 address is resolved or not
type: boolean
type: bool
resolved6:
description: Whether the ipv6 address is resolved or not
type: boolean
type: bool
timeout:
description: The timeout until a new resolving will be attempted
type: int