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

(cherry picked from commit 2cc848fe1a)

Co-authored-by: Felix Fontein <felix@fontein.de>
pull/2537/head
patchback[bot] 2021-05-17 08:27:22 +02:00 committed by GitHub
parent 76cf21a05b
commit 28caeff7bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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'