Ansible Playbooks
Apt - Update
Welcome
This playbook updates the package index cache and upgrades all installed packages to their latest versions on all the target hosts.
* Please be aware, the coding on this site is meant to guide. Testing these scripts in a non-production environment is strongly encouraged. I take no responsibility for use of any scripts on this site or on my github repositories.
Playbook:
---
- hosts: all
become: true
tasks:
- name: update apt packages
apt:
upgrade: yes
update_cache: yes