--- - name: update repo shell: yum check-update register: update_exists failed_when: update_exists.rc != 100 and update_exists.rc != 0 args: warn: false - name: install or update apps shell: cmd: "yum install -y wget curl python3" args: warn: false