mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Bug fix for purefb_fs to stop incorrect filesystem eradication (#47561)
This commit is contained in:
@@ -329,7 +329,7 @@ def main():
|
|||||||
modify_fs(module, blade)
|
modify_fs(module, blade)
|
||||||
elif state == 'absent' and fs and not fs.destroyed:
|
elif state == 'absent' and fs and not fs.destroyed:
|
||||||
delete_fs(module, blade)
|
delete_fs(module, blade)
|
||||||
elif state == 'absent' and fs and fs.destroyed:
|
elif state == 'absent' and fs and fs.destroyed and module.params['eradicate']:
|
||||||
eradicate_fs(module, blade)
|
eradicate_fs(module, blade)
|
||||||
elif state == 'absent' and not fs:
|
elif state == 'absent' and not fs:
|
||||||
module.exit_json(changed=False)
|
module.exit_json(changed=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user