From ee401a8af8bf3ece6b692c6a62e12e8d98c6df0c Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Sun, 16 Nov 2025 11:22:12 +0100 Subject: [PATCH] feat: remove unused block --- playbook.yaml | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index c4013e6..abdfe9c 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -6,14 +6,10 @@ become: true tasks: - # update cluster - - name: "update cluster" + # enter ceph maintenance mode + - name: "set ceph enter maintenance mode" tags: "update-cluster" - block: - - # enter ceph maintenance mode - - name: "set ceph enter maintenance mode" - ansible.builtin.import_tasks: "tasks/ceph/enter-maint.yaml" + ansible.builtin.import_tasks: "tasks/ceph/enter-maint.yaml" # update proxmox - all nodes @@ -23,14 +19,10 @@ serial: 1 tasks: - # update cluster - - name: "update cluster" + # update proxmox cluster + - name: "update proxmox cluster nodes" tags: "update-cluster" - block: - - # update proxmox cluster - - name: "update proxmox cluster nodes" - ansible.builtin.import_tasks: "tasks/proxmox/update-node.yaml" + ansible.builtin.import_tasks: "tasks/proxmox/update-node.yaml" # update proxmox - last node @@ -39,11 +31,7 @@ become: true tasks: - # update cluster - - name: "update cluster" + # exit ceph maintenance mode + - name: "exit ceph maintenance mode" tags: "update-cluster" - block: - - # exit ceph maintenance mode - - name: "exit ceph maintenance mode" - ansible.builtin.import_tasks: "tasks/ceph/exit-maint.yaml" + ansible.builtin.import_tasks: "tasks/ceph/exit-maint.yaml"