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:
parent
448b8cbcda
commit
2cc848fe1a
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue