Execution
Date
03 Mar 2025 12:11:28 +0000
Duration
00:06:37.15
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
378
Hosts
7
Tasks
2572
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusOK
-
Duration00:00:17.59
-
PlayPlaybook to run update script
-
TaskCheck 360 service status
-
Date03 Mar 2025 12:13:31 +0000
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/kuly/update_360_plugins.yaml:20)
| 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.020150 |
| end |
2025-03-03 12:13:14.050144 |
| 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 |
2025-03-03 12:13:14.029994 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
36
|
| stdout_lines |
[ "36" ] |