mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-06 13:23:06 +00:00
Fixed check mode
Change-Id: I3a7a0b0567ac24fb9433352fdc99022bf366fc6a
This commit is contained in:
@@ -677,10 +677,10 @@ class BaremetalNodeModule(OpenStackModule):
|
||||
elif state == 'present' and node:
|
||||
return bool(self._build_update(node))
|
||||
elif state == 'absent' and node:
|
||||
return False
|
||||
return True
|
||||
else:
|
||||
# state == 'absent' and not node:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user