summaryrefslogtreecommitdiff
path: root/host-upgrade.yml
diff options
context:
space:
mode:
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