Execution
Date
09 Dec 2024 16:33:14 +0000
Duration
00:00:16.33
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
-
StatusOK
-
Duration00:00:13.17
-
PlayPlaybook to upgrade agent360 agent via pip
-
TaskUpgrade agent360 package via pip
-
Date09 Dec 2024 16:33:27 +0000
-
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:12.331493 |
| end |
2024-12-09 16:33:27.481945 |
| 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-09 16:33:15.150452 |
| stderr |
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3.6 install --user` instead. /usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, /usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, /usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, /usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, /usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, |
| stderr_lines |
[ "WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3.6 install --user` instead.", "/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.", " setuptools.SetuptoolsDeprecationWarning,", "/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.", " setuptools.SetuptoolsDeprecationWarning,", "/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.", " setuptools.SetuptoolsDeprecationWarning,", "/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.", " setuptools.SetuptoolsDeprecationWarning,", "/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.", " setuptools.SetuptoolsDeprecationWarning," ] |
| 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)
Collecting distro (from agent360)
Downloading https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl
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/26/10/2a30b13c61e7cf937f4adf90710776b7918ed0a9c434e2c38224732af310/psutil-6.1.0.tar.gz (508kB)
Collecting certifi (from agent360)
Downloading https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl (167kB)
Collecting future (from agent360)
Downloading https://files.pythonhosted.org/packages/da/71/ae30dadffc90b9006d77af76b393cb9dfbfc9629f339fc1574a1c52e6806/future-1.0.0-py3-none-any.whl (491kB)
Installing collected packages: distro, psutil, certifi, future, agent360
Found existing installation: distro 1.8.0
Uninstalling distro-1.8.0:
Successfully uninstalled distro-1.8.0
Found existing installation: psutil 5.9.5
Uninstalling psutil-5.9.5:
Successfully uninstalled psutil-5.9.5
Running setup.py install for psutil: started
Running setup.py install for psutil: finished with status 'done'
Found existing installation: certifi 2023.7.22
Uninstalling certifi-2023.7.22:
Successfully uninstalled certifi-2023.7.22
Found existing installation: future 0.18.3
Uninstalling future-0.18.3:
Successfully uninstalled future-0.18.3
Found existing installation: agent360 1.2.47
Uninstalling agent360-1.2.47:
Successfully uninstalled agent360-1.2.47
Successfully installed agent360-1.3.1 certifi-2024.8.30 distro-1.9.0 future-1.0.0 psutil-6.1.0
|
| 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)", "Collecting distro (from agent360)", " Downloading https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl", "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/26/10/2a30b13c61e7cf937f4adf90710776b7918ed0a9c434e2c38224732af310/psutil-6.1.0.tar.gz (508kB)", "Collecting certifi (from agent360)", " Downloading https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl (167kB)", "Collecting future (from agent360)", " Downloading https://files.pythonhosted.org/packages/da/71/ae30dadffc90b9006d77af76b393cb9dfbfc9629f339fc1574a1c52e6806/future-1.0.0-py3-none-any.whl (491kB)", "Installing collected packages: distro, psutil, certifi, future, agent360", " Found existing installation: distro 1.8.0", " Uninstalling distro-1.8.0:", " Successfully uninstalled distro-1.8.0", " Found existing installation: psutil 5.9.5", " Uninstalling psutil-5.9.5:", " Successfully uninstalled psutil-5.9.5", " Running setup.py install for psutil: started", " Running setup.py install for psutil: finished with status 'done'", " Found existing installation: certifi 2023.7.22", " Uninstalling certifi-2023.7.22:", " Successfully uninstalled certifi-2023.7.22", " Found existing installation: future 0.18.3", " Uninstalling future-0.18.3:", " Successfully uninstalled future-0.18.3", " Found existing installation: agent360 1.2.47", " Uninstalling agent360-1.2.47:", " Successfully uninstalled agent360-1.2.47", "Successfully installed agent360-1.3.1 certifi-2024.8.30 distro-1.9.0 future-1.0.0 psutil-6.1.0" ] |