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)

This commit is contained in:
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

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'