Execution
Date 16 Dec 2024 14:47:26 +0000
Duration 00:00:20.26
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
29 Hosts
4 Tasks
116 Results
1 Plays
1 Files
0 Records

Task result details

  • Status
    OK
  • Duration
    00:00:06.24
  • 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:01.390474
end
2024-12-16 14:47:31.017945
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
2024-12-16 14:47:29.627471
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/d8/7d/6a54571d23556ce07d2fbd3a260b64323b5bb512aa366f860833e76bb21f/agent360-1.3.1-py3-none-any.whl (68kB)
Requirement already up-to-date: configparser in /usr/local/lib/python3.6/site-packages (from agent360)
Requirement already up-to-date: future in /usr/local/lib/python3.6/site-packages (from agent360)
Collecting certifi (from agent360)
  Downloading https://files.pythonhosted.org/packages/a5/32/8f6669fc4798494966bf446c8c4a162e0b5d893dff088afddf76414f70e1/certifi-2024.12.14-py3-none-any.whl (164kB)
Requirement already up-to-date: netifaces in /usr/local/lib64/python3.6/site-packages (from agent360)
Requirement already up-to-date: psutil in /usr/local/lib64/python3.6/site-packages (from agent360)
Requirement already up-to-date: distro in /usr/local/lib/python3.6/site-packages (from agent360)
Installing collected packages: certifi, agent360
  Found existing installation: certifi 2024.8.30
    Uninstalling certifi-2024.8.30:
      Successfully uninstalled certifi-2024.8.30
  Found existing installation: agent360 1.3.0
    Uninstalling agent360-1.3.0:
      Successfully uninstalled agent360-1.3.0
Successfully installed agent360-1.3.1 certifi-2024.12.14
stdout_lines
[
    "Collecting agent360",
    "  Downloading https://files.pythonhosted.org/packages/d8/7d/6a54571d23556ce07d2fbd3a260b64323b5bb512aa366f860833e76bb21f/agent360-1.3.1-py3-none-any.whl (68kB)",
    "Requirement already up-to-date: configparser in /usr/local/lib/python3.6/site-packages (from agent360)",
    "Requirement already up-to-date: future in /usr/local/lib/python3.6/site-packages (from agent360)",
    "Collecting certifi (from agent360)",
    "  Downloading https://files.pythonhosted.org/packages/a5/32/8f6669fc4798494966bf446c8c4a162e0b5d893dff088afddf76414f70e1/certifi-2024.12.14-py3-none-any.whl (164kB)",
    "Requirement already up-to-date: netifaces in /usr/local/lib64/python3.6/site-packages (from agent360)",
    "Requirement already up-to-date: psutil in /usr/local/lib64/python3.6/site-packages (from agent360)",
    "Requirement already up-to-date: distro in /usr/local/lib/python3.6/site-packages (from agent360)",
    "Installing collected packages: certifi, agent360",
    "  Found existing installation: certifi 2024.8.30",
    "    Uninstalling certifi-2024.8.30:",
    "      Successfully uninstalled certifi-2024.8.30",
    "  Found existing installation: agent360 1.3.0",
    "    Uninstalling agent360-1.3.0:",
    "      Successfully uninstalled agent360-1.3.0",
    "Successfully installed agent360-1.3.1 certifi-2024.12.14"
]