Execution
Date 05 Nov 2024 17:08:51 +0000
Duration 00:00:04.02
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
1 Hosts
4 Tasks
4 Results
1 Plays
1 Files
0 Records

Task result details

  • Status
    OK
  • Duration
    00:00:01.83
  • 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.232722
end
2024-11-05 17:08:53.119431
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-11-05 17:08:51.886709
stderr
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

[notice] A new release of pip is available: 23.2.1 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
stderr_lines
[
    "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv",
    "",
    "[notice] A new release of pip is available: 23.2.1 -> 24.3.1",
    "[notice] To update, run: pip install --upgrade pip"
]
stdout
Requirement already satisfied: agent360 in /usr/local/lib/python3.10/site-packages (1.2.47)
Collecting agent360
  Obtaining dependency information for agent360 from https://files.pythonhosted.org/packages/fd/fa/21107d623f983a0cf714c1ec351bc6fe6b457d3237f854601db5b0cfef7f/agent360-1.3.0-py3-none-any.whl.metadata
  Downloading agent360-1.3.0-py3-none-any.whl.metadata (4.5 kB)
Requirement already satisfied: psutil in /usr/local/lib/python3.10/site-packages (from agent360) (5.9.8)
Requirement already satisfied: netifaces in /usr/local/lib/python3.10/site-packages (from agent360) (0.11.0)
Requirement already satisfied: configparser in /usr/local/lib/python3.10/site-packages (from agent360) (6.0.1)
Requirement already satisfied: future in /usr/local/lib/python3.10/site-packages (from agent360) (1.0.0)
Requirement already satisfied: distro in /usr/local/lib/python3.10/site-packages (from agent360) (1.9.0)
Requirement already satisfied: certifi in /usr/local/lib/python3.10/site-packages (from agent360) (2023.7.22)
Downloading agent360-1.3.0-py3-none-any.whl (67 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.7/67.7 kB 14.2 MB/s eta 0:00:00
Installing collected packages: agent360
  Attempting uninstall: agent360
    Found existing installation: agent360 1.2.47
    Uninstalling agent360-1.2.47:
      Successfully uninstalled agent360-1.2.47
Successfully installed agent360-1.3.0
stdout_lines
[
    "Requirement already satisfied: agent360 in /usr/local/lib/python3.10/site-packages (1.2.47)",
    "Collecting agent360",
    "  Obtaining dependency information for agent360 from https://files.pythonhosted.org/packages/fd/fa/21107d623f983a0cf714c1ec351bc6fe6b457d3237f854601db5b0cfef7f/agent360-1.3.0-py3-none-any.whl.metadata",
    "  Downloading agent360-1.3.0-py3-none-any.whl.metadata (4.5 kB)",
    "Requirement already satisfied: psutil in /usr/local/lib/python3.10/site-packages (from agent360) (5.9.8)",
    "Requirement already satisfied: netifaces in /usr/local/lib/python3.10/site-packages (from agent360) (0.11.0)",
    "Requirement already satisfied: configparser in /usr/local/lib/python3.10/site-packages (from agent360) (6.0.1)",
    "Requirement already satisfied: future in /usr/local/lib/python3.10/site-packages (from agent360) (1.0.0)",
    "Requirement already satisfied: distro in /usr/local/lib/python3.10/site-packages (from agent360) (1.9.0)",
    "Requirement already satisfied: certifi in /usr/local/lib/python3.10/site-packages (from agent360) (2023.7.22)",
    "Downloading agent360-1.3.0-py3-none-any.whl (67 kB)",
    "   \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 67.7/67.7 kB 14.2 MB/s eta 0:00:00",
    "Installing collected packages: agent360",
    "  Attempting uninstall: agent360",
    "    Found existing installation: agent360 1.2.47",
    "    Uninstalling agent360-1.2.47:",
    "      Successfully uninstalled agent360-1.2.47",
    "Successfully installed agent360-1.3.0"
]