git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/roles/patch_suse/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/patch_suse/tasks')
-rw-r--r--roles/patch_suse/tasks/main.yaml7
1 files changed, 6 insertions, 1 deletions
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: