Execution
Date
21 Aug 2024 11:00:12 +0100
Duration
00:00:33.50
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
32
Hosts
2
Tasks
61
Results
1
Plays
6
Files
0
Records
Task result details
-
StatusOK
-
Duration00:00:01.36
-
PlayTest playbbook for plesk role
-
TaskFirst test task
-
Date21 Aug 2024 11:00:19 +0100
-
Module / Actionansible.builtin.debug (/home/ssh-gateway/ansible/test.yaml:8)
| Field | Value |
|---|---|
| changed |
False |
| plesk_output |
{ "changed": false, "cmd": "if [[ -f /sbin/plesk ]]; then\n # Check for full version text\n plesk_version=$( /sbin/plesk -v | grep \"Product version\" | cut -d \":\" -f2 )\n\n # Check if 'Plesk' exists in the output\n if [[ \"$plesk_version\" == *Plesk* ]]; then\n # Extract numeric version\n numeric_version=$(echo \"$plesk_version\" | sed \"s/^[ \\t]*//\" | awk '{print $NF}')\n echo \"Numeric Version: $numeric_version\"\n else\n echo \"Plesk not found in the output.\"\n fi\nelse\n echo \"Plesk binary not found at /sbin/plesk. Skipping.\"\nfi\n", "delta": "0:00:00.005326", "end": "2024-08-21 10:00:14.492393", "failed": false, "msg": "", "rc": 0, "start": "2024-08-21 10:00:14.487067", "stderr": "", "stderr_lines": [], "stdout": "Plesk binary not found at /sbin/plesk. Skipping.", "stdout_lines": [ "Plesk binary not found at /sbin/plesk. Skipping." ] } |