diff --git a/ansible/proxmox/update_proxmox.yml b/ansible/proxmox/update_proxmox.yml index 98b9a18..d64cea4 100644 --- a/ansible/proxmox/update_proxmox.yml +++ b/ansible/proxmox/update_proxmox.yml @@ -60,15 +60,8 @@ check_mode: true register: apt_check - - name: Simulate update report - ansible.builtin.set_fact: - update_report: - old: "{{ pve_old_version.stdout }}" - new: "{{ pve_new_version.stdout }}" - when: "'vertex' in inventory_hostname" - - name: Proceed if updates are available - when: apt_check.changed + when: apt_check.changed or "'vertex' in inventory_hostname" block: - name: Get version before upgrade