From 6bfcb2fb37ad1d4133612ff966e9ebde3f53739a Mon Sep 17 00:00:00 2001 From: jo Date: Mon, 8 Dec 2025 15:25:10 +0100 Subject: [PATCH] fix: only wait in !check_mode --- plugins/modules/storage_box.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/modules/storage_box.py b/plugins/modules/storage_box.py index a0cf64a..dfefd1b 100644 --- a/plugins/modules/storage_box.py +++ b/plugins/modules/storage_box.py @@ -513,7 +513,8 @@ class AnsibleStorageBox(AnsibleHCloud): if not self.module.check_mode: action = self.storage_box.reset_password(self.module.params.get("password")) self.actions.append(action) - self._wait_actions() + self._wait_actions() + self._mark_as_changed() except HCloudException as exception: @@ -534,7 +535,8 @@ class AnsibleStorageBox(AnsibleHCloud): if not self.module.check_mode: action = self.storage_box.rollback_snapshot(StorageBoxSnapshot(self.module.params.get("snapshot"))) self.actions.append(action) - self._wait_actions() + self._wait_actions() + self._mark_as_changed() except HCloudException as exception: