Correct RETURN data types for Network modules (#24104)

`path` isn't a datatype
pull/24106/head
John R Barker 8 years ago committed by GitHub
parent 8733253a76
commit 3d4523f231

@ -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…
Cancel
Save