From 6c1676fcbb4f13f6ea45556e4f41ad2eb3b0c97c Mon Sep 17 00:00:00 2001 From: Alexei Znamensky <103110+russoz@users.noreply.github.com> Date: Tue, 11 Nov 2025 19:21:51 +1300 Subject: [PATCH] spotinst_aws_elastigroup: deprecation (#11069) * spotinst_aws_elastigroup: deprecation * add changelog frag * add missing URL to chglog * Update changelogs/fragments/11069-deprecate-spotinst.yml Co-authored-by: Felix Fontein * Update meta/runtime.yml Co-authored-by: Felix Fontein * Update plugins/modules/spotinst_aws_elastigroup.py Co-authored-by: Felix Fontein --------- Co-authored-by: Felix Fontein --- changelogs/fragments/11069-deprecate-spotinst.yml | 2 ++ meta/runtime.yml | 4 ++++ plugins/modules/spotinst_aws_elastigroup.py | 4 ++++ 3 files changed, 10 insertions(+) create mode 100644 changelogs/fragments/11069-deprecate-spotinst.yml diff --git a/changelogs/fragments/11069-deprecate-spotinst.yml b/changelogs/fragments/11069-deprecate-spotinst.yml new file mode 100644 index 0000000000..b4e1a30646 --- /dev/null +++ b/changelogs/fragments/11069-deprecate-spotinst.yml @@ -0,0 +1,2 @@ +deprecated_features: + - spotinst_aws_elastigroup - module relies on Python package supporting Python 2.7 only; the module will be removed from community.general 13.0.0 (https://github.com/ansible-collections/community.general/pull/11069). diff --git a/meta/runtime.yml b/meta/runtime.yml index c41d53465b..3fd7b62ff6 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1033,6 +1033,10 @@ plugin_routing: tombstone: removal_version: 3.0.0 warning_text: Use community.general.smartos_image_info instead. + spotinst_aws_elastigroup: + deprecation: + removal_version: 13.0.0 + warning_text: Module relies on unsupported Python package. Use the module spot.cloud_modules.aws_elastigroup instead. stackdriver: tombstone: removal_version: 9.0.0 diff --git a/plugins/modules/spotinst_aws_elastigroup.py b/plugins/modules/spotinst_aws_elastigroup.py index e50f4d016d..9931af570a 100644 --- a/plugins/modules/spotinst_aws_elastigroup.py +++ b/plugins/modules/spotinst_aws_elastigroup.py @@ -14,6 +14,10 @@ description: location - C($HOME/.spotinst/credentials). The credentials file must contain a row that looks like this C(token = ). - Full documentation available at U(https://help.spotinst.com/hc/en-us/articles/115003530285-Ansible-). +deprecated: + removed_in: 13.0.0 + why: Module relies on unsupported Python package. + alternative: Use the module M(spot.cloud_modules.aws_elastigroup) instead. requirements: - spotinst_sdk >= 1.0.38 extends_documentation_fragment: