diff --git a/lib/ansible/modules/storage/purestorage/purefb_fs.py b/lib/ansible/modules/storage/purestorage/purefb_fs.py index f377889ff6..8addc539bd 100644 --- a/lib/ansible/modules/storage/purestorage/purefb_fs.py +++ b/lib/ansible/modules/storage/purestorage/purefb_fs.py @@ -329,7 +329,7 @@ def main(): modify_fs(module, blade) elif state == 'absent' and fs and not fs.destroyed: 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) elif state == 'absent' and not fs: module.exit_json(changed=False)