hcloud_floating_ip_info: add name to return values
This commit is contained in:
parent
594a0fa9ae
commit
596f80586b
1 changed files with 6 additions and 0 deletions
|
@ -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…
Reference in a new issue