...
|
...
|
@@ -37,4 +37,4 @@ |
|
|
- name: check restart status
|
|
|
fail:
|
|
|
msg: "服务启动时间与系统时间间隔超过 120 秒, interval: {{ current_time.stdout|int - service_runtime.stdout|int }} !"
|
|
|
when: start == 'no' and current_time.stdout|int - service_runtime.stdout|int > 120 |
|
|
when: start == 'yes' and current_time.stdout|int - service_runtime.stdout|int > 120 |
...
|
...
|
|