diff --git a/plugins/module_utils/vmware_rest.py b/plugins/module_utils/vmware_rest.py index 6d5373c2..e777f332 100644 --- a/plugins/module_utils/vmware_rest.py +++ b/plugins/module_utils/vmware_rest.py @@ -194,7 +194,7 @@ async def update_changed_flag(data, status, operation): elif operation == "update" and status in [200, 204]: data["failed"] = False data["changed"] = True - elif operation == "upgrade" and status in [200]: + elif operation in ["upgrade", "create_temporary"] and status == 200: data["failed"] = False data["changed"] = True elif operation == "set" and status in [200, 204]: