Execution
Date 28 May 2025 11:27:51 +0100
Duration 00:00:45.81
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
34 Hosts
4 Tasks
103 Results
1 Plays
1 Files
0 Records

Task result details

  • Status
    OK
  • Duration
    00:00:07.11
  • Play
    Playbook to upgrade agent360 agent via pip
  • Task
    Upgrade agent360 package via pip

Field Value
changed
False
cmd
set -o pipefail
pip$(head -1  $(which agent360)| awk -F "python" '{print $2}') install --upgrade agent360
delta
0:00:05.551955
end
2025-05-28 10:27:57.922733
invocation
{
    "module_args": {
        "_raw_params": "set -o pipefail\npip$(head -1  $(which agent360)| awk -F \"python\" '{print $2}') install --upgrade agent360\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-05-28 10:27:52.370778
stderr
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3.6 install --user` instead.
stderr_lines
[
    "WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3.6 install --user` instead."
]
stdout
Collecting agent360
  Downloading https://files.pythonhosted.org/packages/b1/0f/1cca49c3ec34b42cdff2efd8b8fd49ddc3cb1884396a7f353fe4c1ff3820/agent360-1.3.3-py3-none-any.whl (70kB)
Requirement already up-to-date: distro in /usr/local/lib/python3.6/site-packages (from agent360)
Collecting certifi (from agent360)
  Downloading https://files.pythonhosted.org/packages/4a/7e/3db2bd1b1f9e95f7cddca6d6e75e2f2bd9f51b1246e546d88addca0106bd/certifi-2025.4.26-py3-none-any.whl (159kB)
Requirement already up-to-date: future in /usr/local/lib/python3.6/site-packages (from agent360)
Requirement already up-to-date: netifaces in /usr/local/lib64/python3.6/site-packages (from agent360)
Collecting psutil (from agent360)
  Downloading https://files.pythonhosted.org/packages/2a/80/336820c1ad9286a4ded7e845b2eccfcb27851ab8ac6abece774a6ff4d3de/psutil-7.0.0.tar.gz (497kB)
Requirement already up-to-date: configparser in /usr/local/lib/python3.6/site-packages (from agent360)
Installing collected packages: certifi, psutil, agent360
  Found existing installation: certifi 2024.8.30
    Uninstalling certifi-2024.8.30:
      Successfully uninstalled certifi-2024.8.30
  Found existing installation: psutil 6.1.0
    Uninstalling psutil-6.1.0:
      Successfully uninstalled psutil-6.1.0
  Running setup.py install for psutil: started
    Running setup.py install for psutil: finished with status 'done'
  Found existing installation: agent360 1.3.0
    Uninstalling agent360-1.3.0:
      Successfully uninstalled agent360-1.3.0
Successfully installed agent360-1.3.3 certifi-2025.4.26 psutil-7.0.0
stdout_lines
[
    "Collecting agent360",
    "  Downloading https://files.pythonhosted.org/packages/b1/0f/1cca49c3ec34b42cdff2efd8b8fd49ddc3cb1884396a7f353fe4c1ff3820/agent360-1.3.3-py3-none-any.whl (70kB)",
    "Requirement already up-to-date: distro in /usr/local/lib/python3.6/site-packages (from agent360)",
    "Collecting certifi (from agent360)",
    "  Downloading https://files.pythonhosted.org/packages/4a/7e/3db2bd1b1f9e95f7cddca6d6e75e2f2bd9f51b1246e546d88addca0106bd/certifi-2025.4.26-py3-none-any.whl (159kB)",
    "Requirement already up-to-date: future in /usr/local/lib/python3.6/site-packages (from agent360)",
    "Requirement already up-to-date: netifaces in /usr/local/lib64/python3.6/site-packages (from agent360)",
    "Collecting psutil (from agent360)",
    "  Downloading https://files.pythonhosted.org/packages/2a/80/336820c1ad9286a4ded7e845b2eccfcb27851ab8ac6abece774a6ff4d3de/psutil-7.0.0.tar.gz (497kB)",
    "Requirement already up-to-date: configparser in /usr/local/lib/python3.6/site-packages (from agent360)",
    "Installing collected packages: certifi, psutil, agent360",
    "  Found existing installation: certifi 2024.8.30",
    "    Uninstalling certifi-2024.8.30:",
    "      Successfully uninstalled certifi-2024.8.30",
    "  Found existing installation: psutil 6.1.0",
    "    Uninstalling psutil-6.1.0:",
    "      Successfully uninstalled psutil-6.1.0",
    "  Running setup.py install for psutil: started",
    "    Running setup.py install for psutil: finished with status 'done'",
    "  Found existing installation: agent360 1.3.0",
    "    Uninstalling agent360-1.3.0:",
    "      Successfully uninstalled agent360-1.3.0",
    "Successfully installed agent360-1.3.3 certifi-2025.4.26 psutil-7.0.0"
]