From 66139679e127eb3a1be71d1b018ad84471d316bf Mon Sep 17 00:00:00 2001 From: Alexei Znamensky <103110+russoz@users.noreply.github.com> Date: Fri, 4 Jul 2025 16:26:16 +1200 Subject: [PATCH] catapult: deprecation (#10329) * catapult: deprecation * add changelog frag * Update changelogs/fragments/10329-catapult-deprecation.yml Co-authored-by: Felix Fontein * Update meta/runtime.yml Co-authored-by: Felix Fontein * Update plugins/modules/catapult.py Co-authored-by: Felix Fontein * Update plugins/modules/catapult.py Co-authored-by: Felix Fontein --------- 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 f75158e683..4efdc68688 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: