Ansible role to check for linux package updates.
- CentOS & RHEL 7.x
- debug_enabled_default: true|false (default false)
- server_yum_check_managed: true
Below example playbook will check for OS updates.
---
- hosts: '{{inventory}}'
become: yes
roles:
- server-yum-check-update
ansible-playbook server-yum-check-update.yml --extra-vars "inventory=all-dev" -i hosts-dev