Skip to content

Instantly share code, notes, and snippets.

@dreiggy
Created July 15, 2020 12:33
Show Gist options
  • Save dreiggy/02ee6a6ba3e923b502112a5dab288331 to your computer and use it in GitHub Desktop.
Save dreiggy/02ee6a6ba3e923b502112a5dab288331 to your computer and use it in GitHub Desktop.
---
- name: yum check-update
shell: yum check-update
register: yum_result
failed_when: yum_result.rc != 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment