2021-07-23 18:45:46 -04:00
|
|
|
---
|
|
|
|
###########################################################################
|
|
|
|
#
|
2022-03-06 10:19:44 -05:00
|
|
|
# This is the top level playbook for the 'chk_upgrades' role.
|
2021-07-23 18:45:46 -04:00
|
|
|
#
|
|
|
|
# This role will check for available package upgrades on the target host.
|
|
|
|
#
|
|
|
|
###########################################################################
|
|
|
|
#
|
|
|
|
# This playbook can be run using the following command line;
|
|
|
|
#
|
|
|
|
# ansible-playbook -i <inventory file | IP,> chk_upgrades.yml
|
|
|
|
#
|
|
|
|
# ie,
|
|
|
|
# ansible-playbook -i 192.168.1.123, check_upgrades.yml
|
|
|
|
#
|
|
|
|
###########################################################################
|
|
|
|
|
|
|
|
- hosts: all
|
|
|
|
gather_facts: true
|
|
|
|
user: root
|
|
|
|
|
|
|
|
roles:
|
|
|
|
- update_cache
|
|
|
|
- chk_upgrades
|
|
|
|
|
|
|
|
# EOF
|