From 7362282a0eae5418b2a2e57a970413804f15278e Mon Sep 17 00:00:00 2001 From: Vezpi Date: Wed, 3 Jun 2026 20:15:31 +0000 Subject: [PATCH] fix: disable maintenance before checking ceph --- ansible/proxmox/update_proxmox.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ansible/proxmox/update_proxmox.yml b/ansible/proxmox/update_proxmox.yml index c651830..b54b8a3 100644 --- a/ansible/proxmox/update_proxmox.yml +++ b/ansible/proxmox/update_proxmox.yml @@ -142,6 +142,14 @@ - name: Enable Ceph rebalancing ansible.builtin.command: ceph osd unset noout + ########################################################## + # Disable maintenance mode + ########################################################## + + - name: Disable maintenance mode + ansible.builtin.command: > + ha-manager crm-command node-maintenance disable {{ inventory_hostname_short }} + ########################################################## # Ceph validation ########################################################## @@ -154,15 +162,7 @@ retries: 60 delay: 15 delegate_to: "{{ groups['nodes'][0] }}" - - ########################################################## - # Disable maintenance mode - ########################################################## - - - name: Disable maintenance mode - ansible.builtin.command: > - ha-manager crm-command node-maintenance disable {{ inventory_hostname_short }} - + rescue: ##########################################################