From 6d3999eaabaa4c42ccd029a1b677e4b46b257665 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:23 -0400 Subject: [PATCH] Don't restart pvcd.service on bootstrap --- roles/pvc/handlers/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/pvc/handlers/main.yml b/roles/pvc/handlers/main.yml index 0f6f4c0..473f7d6 100644 --- a/roles/pvc/handlers/main.yml +++ b/roles/pvc/handlers/main.yml @@ -43,3 +43,4 @@ - name: restart pvcnoded shell: "{% if is_coordinator %}sleep {{ 15 * (hostvars[ansible_hostname].ansible_local.host_id|int - 1) }} &&{% endif %} systemctl restart pvcnoded.service" ignore_errors: true + when: bootstrap is not defined