Execution
Date 17 Jul 2025 15:56:26 +0100
Duration 00:00:06.51
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
26 Hosts
3 Tasks
27 Results
2 Plays
1 Files
0 Records

Task result details

  • Status
    FAILED
  • Duration
    00:00:01.49
  • Play
    Check if each host needs agent360 upgrade
  • Task
    Get installed version and compare
  • Host
    hn22

Field Value
ansible_facts
{
    "discovered_interpreter_python": "/usr/bin/python"
}
changed
True
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.008045
end
2025-07-17 14:56:31.879109
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
2025-07-17 14:56:31.871064
stderr
which: no agent360 in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
/bin/bash: line 1: pip: command not found
stderr_lines
[
    "which: no agent360 in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)",
    "/bin/bash: line 1: pip: command not found"
]
stdout

stdout_lines
[]