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