mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-07 05:43:15 +00:00
Fixed check mode
Change-Id: I3a7a0b0567ac24fb9433352fdc99022bf366fc6a
This commit is contained in:
@@ -255,10 +255,10 @@ class VolumeBackupModule(OpenStackModule):
|
||||
# openstacksdk does not support it either
|
||||
return False
|
||||
elif state == 'absent' and backup:
|
||||
return False
|
||||
return True
|
||||
else:
|
||||
# state == 'absent' and not backup:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user