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