From 2d72e229a6d97e185751bbaba2d2c29838789160 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 25 Feb 2021 11:22:05 +0100 Subject: [PATCH] [skip ci] fix condition --- handlers/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/main.yml b/handlers/main.yml index 94ef57e..9b6ebb4 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -5,7 +5,7 @@ pull: yes remove_orphans: yes stopped: "{{ inst.service_stopped | default(droneci_autoscaler_service_stopped) }}" - restarted: "{{ not inst.service_stopped | default(droneci_autoscaler_service_stopped) }}" + restarted: "{{ not (inst.service_stopped | default(droneci_autoscaler_service_stopped)) }}" listen: __droneci_autoscaler_restart become: True become_user: root