diff --git a/tasks/centos_dependencies.yml b/tasks/centos_dependencies.yml index fc8752f..f15798d 100644 --- a/tasks/centos_dependencies.yml +++ b/tasks/centos_dependencies.yml @@ -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