Use --assumeyes with explicit yum call. (#2533) (#2534)

(cherry picked from commit 2cc848fe1a)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2021-05-17 08:27:22 +02:00
committed by GitHub
parent 76cf21a05b
commit 28caeff7bd

View File

@@ -24,7 +24,7 @@
register: lock_all_packages
- name: Update all packages
command: yum update --setopt=obsoletes=0
command: yum update --assumeyes --setopt=obsoletes=0
register: update_all_locked_packages
changed_when:
- '"No packages marked for update" not in update_all_locked_packages.stdout'