Correct RETURN data types for Network modules (#24104)
`path` isn't a datatype
This commit is contained in:
parent
8733253a76
commit
3d4523f231
10 changed files with 11 additions and 11 deletions
|
@ -223,7 +223,7 @@ updates:
|
|||
backup_path:
|
||||
description: The full path to the backup file
|
||||
returned: when backup is yes
|
||||
type: path
|
||||
type: string
|
||||
sample: /playbooks/ansible/backup/asa_config.2016-07-16@22:28:34
|
||||
responses:
|
||||
description: The set of responses from issuing the commands on the device
|
||||
|
|
|
@ -200,7 +200,7 @@ commands:
|
|||
backup_path:
|
||||
description: The full path to the backup file
|
||||
returned: when backup is yes
|
||||
type: path
|
||||
type: string
|
||||
sample: /playbooks/ansible/backup/eos_config.2016-07-16@22:28:34
|
||||
"""
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
|
|
@ -90,9 +90,9 @@ temporary:
|
|||
type: boolean
|
||||
sample: "True"
|
||||
value:
|
||||
description: value of the property
|
||||
description: value of the property. May be int or string depending on property.
|
||||
returned: always
|
||||
type: int/string (depends on property)
|
||||
type: int
|
||||
sample: "'1024' or 'never'"
|
||||
'''
|
||||
|
||||
|
|
|
@ -199,7 +199,7 @@ updates:
|
|||
backup_path:
|
||||
description: The full path to the backup file
|
||||
returned: when backup is yes
|
||||
type: path
|
||||
type: string
|
||||
sample: /playbooks/ansible/backup/ios_config.2016-07-16@22:28:34
|
||||
"""
|
||||
import re
|
||||
|
|
|
@ -175,7 +175,7 @@ updates:
|
|||
backup_path:
|
||||
description: The full path to the backup file
|
||||
returned: when backup is yes
|
||||
type: path
|
||||
type: string
|
||||
sample: /playbooks/ansible/backup/iosxr01.2016-07-16@22:28:34
|
||||
"""
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
|
|
@ -180,7 +180,7 @@ RETURN = """
|
|||
backup_path:
|
||||
description: The full path to the backup file
|
||||
returned: when backup is yes
|
||||
type: path
|
||||
type: string
|
||||
sample: /playbooks/ansible/backup/config.2016-07-16@22:28:34
|
||||
"""
|
||||
import re
|
||||
|
|
|
@ -212,7 +212,7 @@ updates:
|
|||
backup_path:
|
||||
description: The full path to the backup file
|
||||
returned: when backup is yes
|
||||
type: path
|
||||
type: string
|
||||
sample: /playbooks/ansible/backup/nxos_config.2016-07-16@22:28:34
|
||||
"""
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
|
|
@ -179,7 +179,7 @@ updates:
|
|||
backup_path:
|
||||
description: The full path to the backup file
|
||||
returned: when backup is yes
|
||||
type: path
|
||||
type: string
|
||||
sample: /playbooks/ansible/backup/ops_config.2016-07-16@22:28:34
|
||||
"""
|
||||
import re
|
||||
|
|
|
@ -190,7 +190,7 @@ updates:
|
|||
backup_path:
|
||||
description: The full path to the backup file
|
||||
returned: when backup is yes
|
||||
type: path
|
||||
type: string
|
||||
sample: /playbooks/ansible/backup/ordnance_config.2016-07-16@22:28:34
|
||||
"""
|
||||
import re
|
||||
|
|
|
@ -214,7 +214,7 @@ commands:
|
|||
backup_path:
|
||||
description: The full path to the backup file
|
||||
returned: when backup is yes
|
||||
type: path
|
||||
type: string
|
||||
sample: /playbooks/ansible/backup/sros_config.2016-07-16@22:28:34
|
||||
"""
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
|
Loading…
Reference in a new issue