1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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'