Execution
Date
08 Apr 2025 09:19:16 +0100
Duration
00:03:20.16
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
395
Hosts
4
Tasks
1549
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusOK
-
Duration00:00:17.88
-
PlayPlaybook to check
-
TaskRun command on plesk server
-
Date08 Apr 2025 09:20:44 +0100
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/kuly/RM9972-2.yaml:13)
| Field | Value |
|---|---|
| changed |
False |
| cmd |
set -o pipefail
hostname -f
if sqlite3 /usr/local/psa/var/modules/monitoring/monitoring.sqlite3 "select * from params where name = 'cloud_service_api_key'" | grep -q 15c642d7e43747cbe4d1f8062d8747e547c111d0aaa3c229e68f1179a61fbcaa; then
echo "FOUND!!!!!";
else
echo "NOT found in database.";
fi;
agent360 --info | grep "Server:" | awk '{ print $2 }'
|
| delta |
0:00:00.151686 |
| end |
2025-04-08 09:20:27.376130 |
| failed_when_result |
False |
| invocation |
{ "module_args": { "_raw_params": "set -o pipefail\nhostname -f\nif sqlite3 /usr/local/psa/var/modules/monitoring/monitoring.sqlite3 \"select * from params where name = 'cloud_service_api_key'\" | grep -q 15c642d7e43747cbe4d1f8062d8747e547c111d0aaa3c229e68f1179a61fbcaa; then\necho \"FOUND!!!!!\";\nelse\necho \"NOT found in database.\";\nfi;\nagent360 --info | grep \"Server:\" | awk '{ print $2 }'\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-04-08 09:20:27.224444 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
solid-bison.man-1.vm.plesk-server.com NOT found in database. 679a2090caaf4115186eea57 |
| stdout_lines |
[ "solid-bison.man-1.vm.plesk-server.com", "NOT found in database.", "679a2090caaf4115186eea57" ] |