From f85136ed6299ef5254b60b64c3a1cccb2fe11bc8 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 29 Aug 2024 02:33:30 -0400 Subject: [PATCH] Add final role runs to normalize cluster --- oneshot/upgrade-pvc-cluster_deb12.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/oneshot/upgrade-pvc-cluster_deb12.yml b/oneshot/upgrade-pvc-cluster_deb12.yml index 7d39ab6..a0e2cbd 100644 --- a/oneshot/upgrade-pvc-cluster_deb12.yml +++ b/oneshot/upgrade-pvc-cluster_deb12.yml @@ -561,5 +561,21 @@ become: no connection: local +# Play 5: Final role updates to normalize cluster +- hosts: all + remote_user: deploy + become: yes + become_user: root + gather_facts: yes + tasks: + - name: include base role + import_role: + name: base + + - name: include pvc role + import_role: + name: pvc + - name: unset PVC maintenance mode command: pvc cluster maintenance off + run_once: yes