From 4fe6204dfb92b2299576f71028645b890cf87d37 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:26 -0400 Subject: [PATCH] Use wait on secondary and delay for 15 seconds --- oneshot/update-pvc-cluster.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oneshot/update-pvc-cluster.yml b/oneshot/update-pvc-cluster.yml index 3c982b8..441b511 100644 --- a/oneshot/update-pvc-cluster.yml +++ b/oneshot/update-pvc-cluster.yml @@ -56,12 +56,12 @@ - name: restart system cleanly block: - name: secondary node - command: 'pvc node secondary {{ ansible_hostname }}' + command: 'pvc node secondary --wait {{ ansible_hostname }}' ignore_errors: true - - name: wait 30 seconds for system to stabilize + - name: wait 15 seconds for system to stabilize pause: - seconds: 30 + seconds: 15 become: no connection: local