From c78513392fb155daf1f8a43af9fe3a258fba1e0e Mon Sep 17 00:00:00 2001 From: aggarwalakshun Date: Sat, 5 Oct 2024 09:11:36 +0000 Subject: [PATCH] use apt module over command for dist upgrade --- playbooks/update-proxmox.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/update-proxmox.yml b/playbooks/update-proxmox.yml index 482ae9a..acaa76e 100644 --- a/playbooks/update-proxmox.yml +++ b/playbooks/update-proxmox.yml @@ -8,7 +8,8 @@ apt: update_cache: yes - name: Dist-upgrade - command: sudo apt dist-upgrade + apt: + upgrade: dist - name: Autoremove packages apt: autoremove: yes