fixed yum return code handling
This commit is contained in:
parent
54dd284d45
commit
668ac8e0ea
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
- name: update repo
|
||||
shell: yum check-update
|
||||
register: update_exists
|
||||
failed_when: update_exists.rc != 100 and update_exists.rc != 0
|
||||
args:
|
||||
warn: false
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user