From d60eabf63d55fdca22263745b63c5e631c068cb8 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 20 Feb 2020 14:34:29 -0500 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