Execution
Date
28 May 2025 10:47:41 +0100
Duration
00:03:26.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
388
Hosts
4
Tasks
1522
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusOK
-
Duration00:00:40.44
-
PlayPlaybook to upgrade agent360 agent via pip
-
TaskUpgrade agent360 package via pip
-
Date28 May 2025 10:48:54 +0100
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/kuly/agent360_upgrade.yaml:6)
| 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.354636 |
| end |
2025-05-28 09:48:15.615780 |
| 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 09:48:14.261144 |
| stderr |
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3.9 install --user` instead. |
| stderr_lines |
[ "WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3.9 install --user` instead." ] |
| stdout |
Collecting agent360
Downloading agent360-1.3.3-py3-none-any.whl (70 kB)
Requirement already satisfied, skipping upgrade: certifi in /usr/local/lib/python3.9/site-packages (from agent360) (2024.2.2)
Requirement already satisfied, skipping upgrade: netifaces in /usr/local/lib64/python3.9/site-packages (from agent360) (0.11.0)
Requirement already satisfied, skipping upgrade: configparser in /usr/local/lib/python3.9/site-packages (from agent360) (6.0.1)
Requirement already satisfied, skipping upgrade: distro in /usr/local/lib/python3.9/site-packages (from agent360) (1.9.0)
Requirement already satisfied, skipping upgrade: psutil in /usr/local/lib64/python3.9/site-packages (from agent360) (5.9.8)
Requirement already satisfied, skipping upgrade: future in /usr/local/lib/python3.9/site-packages (from agent360) (1.0.0)
Installing collected packages: agent360
Attempting uninstall: agent360
Found existing installation: agent360 1.3.1
Uninstalling agent360-1.3.1:
Successfully uninstalled agent360-1.3.1
Successfully installed agent360-1.3.3
|
| stdout_lines |
[ "Collecting agent360", " Downloading agent360-1.3.3-py3-none-any.whl (70 kB)", "Requirement already satisfied, skipping upgrade: certifi in /usr/local/lib/python3.9/site-packages (from agent360) (2024.2.2)", "Requirement already satisfied, skipping upgrade: netifaces in /usr/local/lib64/python3.9/site-packages (from agent360) (0.11.0)", "Requirement already satisfied, skipping upgrade: configparser in /usr/local/lib/python3.9/site-packages (from agent360) (6.0.1)", "Requirement already satisfied, skipping upgrade: distro in /usr/local/lib/python3.9/site-packages (from agent360) (1.9.0)", "Requirement already satisfied, skipping upgrade: psutil in /usr/local/lib64/python3.9/site-packages (from agent360) (5.9.8)", "Requirement already satisfied, skipping upgrade: future in /usr/local/lib/python3.9/site-packages (from agent360) (1.0.0)", "Installing collected packages: agent360", " Attempting uninstall: agent360", " Found existing installation: agent360 1.3.1", " Uninstalling agent360-1.3.1:", " Successfully uninstalled agent360-1.3.1", "Successfully installed agent360-1.3.3" ] |