--- ########################################################################### # # This is the top level playbook to perform a system update for the target # host. # # This playbook will first call the 'update_cache' role, and will then call # the 'chk_upgrades' role to display what packages are waiting for update. # It then calls the 'upgrade_pkgs' role to perform the actual package # upgrade. # ########################################################################### # # This playbook can be run using the following command line; # # ansible-playbook -i updates.yml # # ie, # ansible-playbook -i 192.168.1.123, updates.yml # ########################################################################### - hosts: all gather_facts: true user: root roles: - update_cache - chk_upgrades - upgrade_pkgs # EOF