mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
(cherry picked from commit 2cc848fe1a)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
register: lock_all_packages
|
register: lock_all_packages
|
||||||
|
|
||||||
- name: Update all packages
|
- name: Update all packages
|
||||||
command: yum update --setopt=obsoletes=0
|
command: yum update --assumeyes --setopt=obsoletes=0
|
||||||
register: update_all_locked_packages
|
register: update_all_locked_packages
|
||||||
changed_when:
|
changed_when:
|
||||||
- '"No packages marked for update" not in update_all_locked_packages.stdout'
|
- '"No packages marked for update" not in update_all_locked_packages.stdout'
|
||||||
|
|||||||
Reference in New Issue
Block a user