Execution
Date
24 Oct 2024 13:16:17 +0100
Duration
00:04:07.56
Controller
ssh-gw-4.layershift.com
User
root
Versions
Ansible
2.16.11
ara
1.7.2 / 1.7.2
Python
3.10.10
Summary
201
Hosts
8
Tasks
1594
Results
1
Plays
6
Files
0
Records
Task result details
-
StatusOK
-
Duration00:00:09.97
-
PlayPlaybook to run update script
-
TaskCheck 360 service status
-
Date24 Oct 2024 13:17:59 +0100
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/kuly/update_360_plugins.yaml:19)
| Field | Value |
|---|---|
| changed |
False |
| cmd |
set -o pipefail
service_time=$(systemctl show -p ActiveEnterTimestamp agent360.service | awk -F'=' '{print $2}')
service_epoch=$(date -d "$service_time" +%s)
current_time=$(date +%s)
time_diff=$((current_time - service_epoch))
echo $time_diff
|
| delta |
0:00:00.037212 |
| end |
2024-10-24 12:17:50.274004 |
| invocation |
{ "module_args": { "_raw_params": "set -o pipefail\nservice_time=$(systemctl show -p ActiveEnterTimestamp agent360.service | awk -F'=' '{print $2}')\nservice_epoch=$(date -d \"$service_time\" +%s)\ncurrent_time=$(date +%s)\ntime_diff=$((current_time - service_epoch))\necho $time_diff\n", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": "/bin/bash", "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } } |
| msg |
|
| rc |
0 |
| start |
2024-10-24 12:17:50.236792 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
29
|
| stdout_lines |
[ "29" ] |