summaryrefslogtreecommitdiff
path: root/host-upgrade.yml
diff options
context:
space:
mode:
authorMatthieu Pignolet <m@mpgn.dev>2025-03-17 14:18:03 +0400
committerMatthieu Pignolet <m@mpgn.dev>2025-03-17 14:18:03 +0400
commit5098223d5c81fac49ded8e555ba629281b06d425 (patch)
tree451988b8a7287735ac98704c5f2b1783fd837666 /host-upgrade.yml
parent63efaaf0ba315a9af837d9e9016d331a1327e5e5 (diff)
initial commit: migrate all `MatthieuCoder/pantheon-ansible` files to the oss repo
Diffstat (limited to 'host-upgrade.yml')
-rw-r--r--host-upgrade.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/host-upgrade.yml b/host-upgrade.yml
new file mode 100644
index 0000000..e16be43
--- /dev/null
+++ b/host-upgrade.yml
@@ -0,0 +1,13 @@
+- name: Upgrade all proxmox hosts
+ hosts: pve
+ become: true
+ gather_facts: true
+ tasks:
+ - name: Update all packages to their latest version
+ ansible.builtin.apt:
+ name: "*"
+ state: latest
+ autoremove: yes
+ purge: true
+ clean: yes
+ update_cache: true