Execution
Date
11 Sep 2024 15:53:09 +0100
Duration
00:03:47.60
Controller
ssh-gw-4.layershift.com
User
root
Versions
Ansible
2.16.4
ara
1.7.1 / 1.7.1
Python
3.10.10
Summary
139
Hosts
11
Tasks
1518
Results
1
Plays
6
Files
0
Records
Task result details
-
StatusOK
-
Duration00:00:06.38
-
PlayUpdate layershift mysql config
-
TaskCheck if started
-
Date11 Sep 2024 15:55:16 +0100
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/kuly/update_layershift_default.yaml:36)
| Field | Value |
|---|---|
| changed |
False |
| cmd |
set -o pipefail
service_time=$(systemctl show -p ActiveEnterTimestamp mariadb.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.036034 |
| end |
2024-09-11 15:55:10.452847 |
| invocation |
{ "module_args": { "_raw_params": "set -o pipefail\nservice_time=$(systemctl show -p ActiveEnterTimestamp mariadb.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-09-11 15:55:10.416813 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
17
|
| stdout_lines |
[ "17" ] |