Execution
Date 10 Sep 2024 12:53:41 +0100
Duration None
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
138 Hosts
3 Tasks
408 Results
1 Plays
6 Files
0 Records

Task result details

  • Status
    OK
  • Duration
    00:00:11.73
  • Play
    Playbook to upgrade provider_metrics
  • Task
    plesk : Check if Plesk binary exists and capture version information

Field Value
changed
False
cmd
set -o pipefail
if [ -x /sbin/plesk ]; then
  /sbin/plesk -v | grep "Product version" | cut -d ":" -f2 | sed "s/^[ \t]*//" | awk '{print $NF}'
fi
delta
0:00:00.037698
end
2024-09-10 12:53:46.989793
invocation
{
    "module_args": {
        "_raw_params": "set -o pipefail\nif [ -x /sbin/plesk ]; then\n  /sbin/plesk -v | grep \"Product version\" | cut -d \":\" -f2 | sed \"s/^[ \\t]*//\" | awk '{print $NF}'\nfi\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-10 12:53:46.952095
stderr

stderr_lines
[]
stdout
18.0.63.4
stdout_lines
[
    "18.0.63.4"
]