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 (#772)
##### SUMMARY Related to #771
This commit is contained in:
parent
b4616f3af8
commit
10c0e14d9d
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ class AnsiblePrimaryIP(AnsibleHCloud):
|
||||||
self.primary_ip.reload()
|
self.primary_ip.reload()
|
||||||
|
|
||||||
def _update(self):
|
def _update(self):
|
||||||
need_reload = True
|
need_reload = False
|
||||||
|
|
||||||
if (value := self.module.params.get("delete_protection")) is not None:
|
if (value := self.module.params.get("delete_protection")) is not None:
|
||||||
if value != self.primary_ip.protection["delete"]:
|
if value != self.primary_ip.protection["delete"]:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue