fix: only reload consul if the service is set to be started
This commit is contained in:
parent
fab9125651
commit
fe886edd5f
@ -55,5 +55,6 @@
|
|||||||
state: reloaded
|
state: reloaded
|
||||||
throttle: 1
|
throttle: 1
|
||||||
when:
|
when:
|
||||||
|
- consul_start_service
|
||||||
- _consul_service_need_reload
|
- _consul_service_need_reload
|
||||||
- not _consul_service_need_restart
|
- not _consul_service_need_restart
|
||||||
|
Loading…
Reference in New Issue
Block a user