Execution
Date
24 Jul 2025 13:12:11 +0100
Duration
00:00:08.47
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
1
Hosts
10
Tasks
10
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusOK
-
Duration00:00:00.58
-
PlaySearch for diskusage block in file and replace it
-
TaskCheck service status
-
Date24 Jul 2025 13:12:15 +0100
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/kuly/RM10092_agent360_conf_change.yaml:47)
| 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.030993 |
| end |
2025-07-24 13:12:15.159064 |
| 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-07-24 13:12:15.128071 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
1
|
| stdout_lines |
[ "1" ] |