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

pull/2540/head
Felix Fontein 2021-05-17 08:11:17 +02:00 committed by GitHub
parent 448b8cbcda
commit 2cc848fe1a
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'