[skip ci] fix condition
This commit is contained in:
parent
d6a9c65500
commit
2d72e229a6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user