28 lines
670 B
YAML
28 lines
670 B
YAML
---
|
|
###########################################################################
|
|
#
|
|
# This is the top level playbook for the 'chk_upgrades' role.
|
|
#
|
|
# 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
|