summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/net_tools/omapi_host.py
diff options
context:
space:
mode:
authorDag Wieers <dag@wieers.com>2018-12-18 22:25:30 +0100
committerJordan Borean <jborean93@gmail.com>2018-12-19 07:25:30 +1000
commit05c6ff79f9860dbd6b43cb4914ee749baf65b9f7 (patch)
treeb27b93e7d23f35968c392854ee24dae520db047d /lib/ansible/modules/net_tools/omapi_host.py
parentfcd1486b51a99a84aad6e76c26e92f26da499004 (diff)
downloadansible-05c6ff79f9860dbd6b43cb4914ee749baf65b9f7.tar.gz
Convert to reduced list of known types (#50010)
Diffstat (limited to 'lib/ansible/modules/net_tools/omapi_host.py')
-rw-r--r--lib/ansible/modules/net_tools/omapi_host.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ansible/modules/net_tools/omapi_host.py b/lib/ansible/modules/net_tools/omapi_host.py
index 316cf356dd..32eb2a8c16 100644
--- a/lib/ansible/modules/net_tools/omapi_host.py
+++ b/lib/ansible/modules/net_tools/omapi_host.py
@@ -98,7 +98,7 @@ RETURN = '''
changed:
description: If module has modified a host
returned: success
- type: string
+ type: str
lease:
description: dictionary containing host information
returned: success
@@ -107,12 +107,12 @@ lease:
ip-address:
description: IP address, if there is.
returned: success
- type: string
+ type: str
sample: '192.168.1.5'
hardware-address:
description: MAC address
returned: success
- type: string
+ type: str
sample: '00:11:22:33:44:55'
hardware-type:
description: hardware type, generally '1'
@@ -122,7 +122,7 @@ lease:
name:
description: hostname
returned: success
- type: string
+ type: str
sample: 'mydesktop'
'''