fixed yum return code handling

This commit is contained in:
Pavel Muhortov 2023-12-24 18:41:59 +03:00
parent 54dd284d45
commit 668ac8e0ea

View File

@ -1,6 +1,8 @@
--- ---
- name: update repo - name: update repo
shell: yum check-update shell: yum check-update
register: update_exists
failed_when: update_exists.rc != 100 and update_exists.rc != 0
args: args:
warn: false warn: false