Skip to content

Instantly share code, notes, and snippets.

Last active July 29, 2021 18:48
What would you like to do?
- name: Run updates on Ubuntu Machines
hosts: cslab135
become: true
- name: Running updates
# equivalent to sudo apt update
update_cache: yes
# equivalent to sudo apt upgrade
upgrade: safe
# equivalent to sudo apt autoremove
autoremove: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment