git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormail_redacted_for_web 2025-10-17 16:44:24 +0200
committermail_redacted_for_web 2025-10-17 16:44:24 +0200
commitc71cf72191c0b7a61436249687bfd0d8c0141d1f (patch)
treedadcce8ba9fecbcf4beb66f563526d2ca1214e2c
parent05b3f499f84f918f7fcd890a595d27cbe66c1b9a (diff)
downloadansible-zypper_options.tar.bz2
more zypper optionszypper_options
-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: