...
|
...
|
@@ -21,7 +21,7 @@ |
|
|
- name: Compare service uptime & current time
|
|
|
debug:
|
|
|
msg:
|
|
|
- "Serivce {{ deploy_path }} last uptime is: {{ lookup('pipe','date -d @'+service_runtime.stdout) }}"
|
|
|
- "Service {{ deploy_path }} last uptime is: {{ lookup('pipe','date -d @'+service_runtime.stdout) }}"
|
|
|
- "Current system time is: {{ lookup('pipe','date -d @'+current_time.stdout) }}"
|
|
|
- "interval is: {{ current_time.stdout|int - service_runtime.stdout|int }}"
|
|
|
|
...
|
...
|
|