diff --git a/changelogs/fragments/keep-deprecated-alias.yml b/changelogs/fragments/keep-deprecated-alias.yml new file mode 100644 index 0000000..69c7d38 --- /dev/null +++ b/changelogs/fragments/keep-deprecated-alias.yml @@ -0,0 +1,2 @@ +bugfixes: + - server - Keep `force_upgrade` deprecated alias for another major version. diff --git a/plugins/modules/server.py b/plugins/modules/server.py index dee4a92..350415b 100644 --- a/plugins/modules/server.py +++ b/plugins/modules/server.py @@ -923,7 +923,7 @@ class AnsibleHCloudServer(AnsibleHCloud): "default": False, "aliases": ["force_upgrade"], "deprecated_aliases": [ - {"collection_name": "hetzner.hcloud", "name": "force_upgrade", "version": "4.0.0"} + {"collection_name": "hetzner.hcloud", "name": "force_upgrade", "version": "5.0.0"} ], }, rescue_mode={"type": "str"},