Add update-host

This commit is contained in:
2026-01-17 20:33:59 -05:00
parent 8d07861977
commit 0fc3c1277f

21
update-host Normal file
View File

@@ -0,0 +1,21 @@
---
- hosts: all
become: yes
tasks:
- name: Apt Update
ansible.builtin.apt:
update_cache: true
- name: Apt Upgrade
ansible.builtin.apt:
upgrade: yes
update_cache: yes
- name: Apt Autoremove
ansible.builtin.apt:
autoremove: yes
- name: Apt Autoclean
ansible.builtin.apt:
autoclean: true