mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
Allow setting Floating IP RDNS entries with hcloud_rdns
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
This commit is contained in:
parent
ac2aeac15b
commit
df3f947d72
1 changed files with 2 additions and 2 deletions
|
|
@ -132,9 +132,9 @@ class AnsibleHcloudReverseDNS(Hcloud):
|
|||
}
|
||||
|
||||
if self.module.params.get("server"):
|
||||
result.server = to_native(self.hcloud_resource.name),
|
||||
result["server"] = to_native(self.hcloud_resource.name),
|
||||
elif self.module.params.get("floating_ip"):
|
||||
result.floating_ip = to_native(self.hcloud_resource.name),
|
||||
result["floating_ip"] = to_native(self.hcloud_resource.name),
|
||||
return result
|
||||
|
||||
def _get_resource(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue