From c71cf72191c0b7a61436249687bfd0d8c0141d1f Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Fri, 17 Oct 2025 16:44:24 +0200 Subject: more zypper options --- roles/patch_suse/tasks/main.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'roles') diff --git a/roles/patch_suse/tasks/main.yaml b/roles/patch_suse/tasks/main.yaml index db15d75..1dcfc12 100644 --- a/roles/patch_suse/tasks/main.yaml +++ b/roles/patch_suse/tasks/main.yaml @@ -44,10 +44,15 @@ community.general.zypper: name: '*' state: latest - extra_args: '--no-refresh' + allow_vendor_change: true + extra_args: '--no-refresh --auto-agree-with-product-licenses --allow-arch-change' # this is only document as "zypper rm -u", so apparently nothing is existing like # rpm's cleanup or apt's "autoremove" :( # clean_deps: true + # Also, one could use this to only apply SUSE patches and not all package updates, + # which is not the philosophy of the maintainer behind this. Adding for doc + # purposes: + # type: patch become: true name: Update and RKhunter checks when: -- cgit v1.2.3