Correct RETURN data types for Network modules (#24104)

`path` isn't a datatype
This commit is contained in:
John R Barker 2017-04-28 12:15:18 +01:00 committed by GitHub
parent 8733253a76
commit 3d4523f231
10 changed files with 11 additions and 11 deletions

View file

@ -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

View file

@ -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

View file

@ -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'"
'''

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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