[skip ci] fix condition

This commit is contained in:
Robert Kaussow 2021-02-25 11:22:05 +01:00
parent d6a9c65500
commit 2d72e229a6
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -5,7 +5,7 @@
pull: yes pull: yes
remove_orphans: yes remove_orphans: yes
stopped: "{{ inst.service_stopped | default(droneci_autoscaler_service_stopped) }}" 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 listen: __droneci_autoscaler_restart
become: True become: True
become_user: root become_user: root