From 6e1cc3eafd0bce6847c41d78642e9502e6be1c8f Mon Sep 17 00:00:00 2001 From: Alexei Znamensky <103110+russoz@users.noreply.github.com> Date: Tue, 11 Nov 2025 18:48:42 +1300 Subject: [PATCH] swupd: deprecation (#11087) * swupd: deprecation * add changelog frag * Update changelogs/fragments/11087-deprecate-swupd.yml Co-authored-by: Felix Fontein * Update meta/runtime.yml Co-authored-by: Felix Fontein * Update plugins/modules/swupd.py Co-authored-by: Felix Fontein --------- Co-authored-by: Felix Fontein --- changelogs/fragments/11087-deprecate-swupd.yml | 2 ++ meta/runtime.yml | 4 ++++ plugins/modules/swupd.py | 6 ++++++ 3 files changed, 12 insertions(+) create mode 100644 changelogs/fragments/11087-deprecate-swupd.yml diff --git a/changelogs/fragments/11087-deprecate-swupd.yml b/changelogs/fragments/11087-deprecate-swupd.yml new file mode 100644 index 0000000000..e43913a2c3 --- /dev/null +++ b/changelogs/fragments/11087-deprecate-swupd.yml @@ -0,0 +1,2 @@ +deprecated_features: + - layman - ClearLinux was made EOL in July 2025.; the module will be removed from community.general 15.0.0 (https://github.com/ansible-collections/community.general/pull/11087). diff --git a/meta/runtime.yml b/meta/runtime.yml index 2c1f437179..c41d53465b 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1039,6 +1039,10 @@ plugin_routing: warning_text: This module relied on HTTPS APIs that do not exist anymore, and any new development in the direction of providing an alternative should happen in the context of the google.cloud collection. + swupd: + deprecation: + removal_version: 15.0.0 + warning_text: ClearLinux was made EOL in July 2025. If you think the module is still useful for another distribution, please create an issue in the community.general repository. typetalk: deprecation: removal_version: 13.0.0 diff --git a/plugins/modules/swupd.py b/plugins/modules/swupd.py index 6915595097..77ebdcce26 100644 --- a/plugins/modules/swupd.py +++ b/plugins/modules/swupd.py @@ -11,6 +11,12 @@ from __future__ import annotations DOCUMENTATION = r""" module: swupd short_description: Manages updates and bundles in ClearLinux systems +deprecated: + removed_in: 15.0.0 + why: >- + ClearLinux was made EOL in July 2025. If you think the module is still useful for another distribution, + please L(create an issue in the community.general repository, https://github.com/ansible-collections/community.general/issues/). + alternative: There is none. description: - Manages updates and bundles with the swupd bundle manager, which is used by the Clear Linux Project for Intel Architecture. author: Alberto Murillo (@albertomurillo)