[skip ci] fix condition

This commit is contained in:
Robert Kaussow 2021-02-25 11:22:05 +01:00
parent d6a9c65500
commit 2d72e229a6
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
1 changed files with 1 additions and 1 deletions

View File

@ -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