1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

refactor: fix primary ip module need_reload default value

This commit is contained in:
jo 2025-12-16 16:50:59 +01:00
parent b4616f3af8
commit 12c6150d68
No known key found for this signature in database
GPG key ID: B2FEC9B22722B984

View file

@ -234,7 +234,7 @@ class AnsiblePrimaryIP(AnsibleHCloud):
self.primary_ip.reload()
def _update(self):
need_reload = True
need_reload = False
if (value := self.module.params.get("delete_protection")) is not None:
if value != self.primary_ip.protection["delete"]: