Execution
Date
05 Nov 2024 13:06:58 +0000
Duration
00:00:22.66
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
36
Hosts
4
Tasks
86
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusFAILED
-
Duration00:00:02.95
-
PlayCheck agent360 version and compare
-
TaskGet installed agent360 version using pip
-
Date05 Nov 2024 13:07:02 +0000
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/kuly/agent360_check_for_upgrade.yaml:9)
| Field | Value |
|---|---|
| changed |
False |
| cmd |
set -o pipefail
pip$(head -1 $(which agent360) | awk -F 'python' '{print $2}') show agent360 | grep Version | awk '{print $2}'
|
| delta |
0:00:00.030085 |
| end |
2024-11-05 13:07:00.119103 |
| failed_when_result |
True |
| invocation |
{ "module_args": { "_raw_params": "set -o pipefail\npip$(head -1 $(which agent360) | awk -F 'python' '{print $2}') show agent360 | grep Version | 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 |
non-zero return code |
| rc |
1 |
| start |
2024-11-05 13:07:00.089018 |
| stderr |
/usr/bin/which: no agent360 in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/ls_tools) /bin/bash: line 1: pip: command not found |
| stderr_lines |
[ "/usr/bin/which: no agent360 in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/ls_tools)", "/bin/bash: line 1: pip: command not found" ] |
| stdout |
|
| stdout_lines |
[]
|