hcloud_floating_ip_info: add name to return values

pull/63064/merge
Olli Helenius 5 years ago committed by René Moser
parent 594a0fa9ae
commit 596f80586b

@ -61,6 +61,11 @@ hcloud_floating_ip_info:
returned: always
type: int
sample: 1937415
name:
description: Name of the Floating IP
returned: Always
type: str
sample: my-floating-ip
description:
description: Description of the Floating IP
returned: always
@ -117,6 +122,7 @@ class AnsibleHcloudFloatingIPInfo(Hcloud):
server_name = floating_ip.server.name
tmp.append({
"id": to_native(floating_ip.id),
"name": to_native(floating_ip.name),
"description": to_native(floating_ip.description),
"ip": to_native(floating_ip.ip),
"type": to_native(floating_ip.type),

Loading…
Cancel
Save