From 723665b0d362227ca2b3c38388c850ab614c6d23 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Fri, 4 Jul 2025 09:16:55 +0200 Subject: [PATCH] [PR #10329/66139679 backport][stable-11] catapult: deprecation (#10340) catapult: deprecation (#10329) * catapult: deprecation * add changelog frag * Update changelogs/fragments/10329-catapult-deprecation.yml * Update meta/runtime.yml * Update plugins/modules/catapult.py * Update plugins/modules/catapult.py --------- (cherry picked from commit 66139679e127eb3a1be71d1b018ad84471d316bf) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> Co-authored-by: Felix Fontein --- changelogs/fragments/10329-catapult-deprecation.yml | 2 ++ meta/runtime.yml | 4 ++++ plugins/modules/catapult.py | 6 ++++++ 3 files changed, 12 insertions(+) create mode 100644 changelogs/fragments/10329-catapult-deprecation.yml diff --git a/changelogs/fragments/10329-catapult-deprecation.yml b/changelogs/fragments/10329-catapult-deprecation.yml new file mode 100644 index 0000000000..5e5209edda --- /dev/null +++ b/changelogs/fragments/10329-catapult-deprecation.yml @@ -0,0 +1,2 @@ +deprecated_features: + - catapult - module is deprecated and will be removed in community.general 13.0.0 (https://github.com/ansible-collections/community.general/issues/10318, https://github.com/ansible-collections/community.general/pull/10329). diff --git a/meta/runtime.yml b/meta/runtime.yml index 174493bc72..ed7efb80d9 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -116,6 +116,10 @@ plugin_routing: deprecation: removal_version: 13.0.0 warning_text: Project Atomic was sunset by the end of 2019. + catapult: + deprecation: + removal_version: 13.0.0 + warning_text: DNS fails to resolve the API endpoint used by the module since Oct 2024. See https://github.com/ansible-collections/community.general/issues/10318 for details. cisco_spark: redirect: community.general.cisco_webex clc_alert_policy: diff --git a/plugins/modules/catapult.py b/plugins/modules/catapult.py index 5329c90f54..c866bed75b 100644 --- a/plugins/modules/catapult.py +++ b/plugins/modules/catapult.py @@ -16,6 +16,12 @@ module: catapult short_description: Send a sms / mms using the catapult bandwidth API description: - Allows notifications to be sent using SMS / MMS using the catapult bandwidth API. +deprecated: + removed_in: 13.0.0 + why: >- + DNS fails to resolve the API endpoint used by the module since Oct 2024. + See L(the associated issue, https://github.com/ansible-collections/community.general/issues/10318) for details. + alternative: There is none. extends_documentation_fragment: - community.general.attributes attributes: