git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/roles/patch_suse
diff options
context:
space:
mode:
authormail_redacted_for_web 2026-04-21 16:09:57 +0200
committermail_redacted_for_web 2026-04-21 16:09:57 +0200
commit31e256997bcf1ddba22e4f4d7aff3f4bed1ad5b1 (patch)
tree9f3e18a2603277d24bab2168ae627e2813f595a2 /roles/patch_suse
parent3d7a7b94bbd03bfa9054a0ab289bc0232dbd33e2 (diff)
downloados-patch-master.tar.bz2
fix: purge-kernels is not feasible with SUSEHEADmaster
Diffstat (limited to 'roles/patch_suse')
-rw-r--r--roles/patch_suse/tasks/main.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/patch_suse/tasks/main.yaml b/roles/patch_suse/tasks/main.yaml
index 5e42b7d..50abb96 100644
--- a/roles/patch_suse/tasks/main.yaml
+++ b/roles/patch_suse/tasks/main.yaml
@@ -66,7 +66,9 @@
changed_when: false
- name: Purge old kernels
# ansible's zypper module does not have a dedicated action for this yet. So shell it is:
- ansible.builtin.command: zypper purge-kernels
+ # ansible.builtin.command: zypper purge-kernels
+ ansible.builtin.debug:
+ msg: 'As long as SUSE do not have non-interactive options to purge-kernels, this is infeasible.'
# TODO: Check output for actual kernel-purging and make this a proper statement:
changed_when: false
name: Cleanup