{"id":185864,"status":"ok","playbook":{"id":2306,"items":{"plays":1,"tasks":4,"results":4,"hosts":1,"files":1,"records":0},"arguments":{"version":null,"verbosity":2,"private_key_file":"/home/ssh-gateway/.ssh/id_rsa","remote_user":"root","connection":"ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"force_handlers":false,"flush_cache":false,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"tags":["all"],"skip_tags":[],"check":false,"diff":false,"inventory":["/home/ssh-gateway/ansible/kuly/bash-kvm-inventory-prod.sh"],"listhosts":false,"subset":"uk-res1.man1.vm.plesk-server.com","extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":20,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["agent360_upgrade.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"},{"id":168,"name":"subset:uk-res1.man1.vm.plesk-server.com"}],"started":"2024-12-09T16:21:50.272386Z","ended":"2024-12-09T16:21:58.497168Z","duration":"00:00:08.224782","name":null,"ansible_version":"2.16.11","client_version":"1.7.2","python_version":"3.10.10","server_version":"1.7.2","status":"completed","path":"/home/ssh-gateway/ansible/kuly/agent360_upgrade.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":2621,"items":{"tasks":4,"results":4},"started":"2024-12-09T16:21:50.306425Z","ended":"2024-12-09T16:21:58.401374Z","duration":"00:00:08.094949","name":"Playbook to upgrade agent360 agent via pip","status":"completed"},"task":{"id":5688,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/agent360_upgrade.yaml","tags":[],"started":"2024-12-09T16:21:50.363814Z","ended":"2024-12-09T16:21:56.360514Z","duration":"00:00:05.996700","name":"Upgrade agent360 package via pip","uuid":"001851d0-75dc-6168-256a-00000000011e","action":"ansible.builtin.shell","lineno":6,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":4382},"host":{"id":77852,"name":"uk-res1.man1.vm.plesk-server.com","changed":1,"failed":0,"ok":3,"skipped":1,"unreachable":0},"delegated_to":[],"content":{"changed":false,"cmd":"set -o pipefail\npip$(head -1  $(which agent360)| awk -F \"python\" '{print $2}') install --upgrade agent360\n","delta":"0:00:05.401460","end":"2024-12-09 16:21:56.312462","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:21:50.911002","stderr":"WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3.6 install --user` instead.\n/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.\n  setuptools.SetuptoolsDeprecationWarning,\n/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.\n  setuptools.SetuptoolsDeprecationWarning,\n/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.\n  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,"],"stdout":"Collecting agent360\n  Downloading https://files.pythonhosted.org/packages/d8/7d/6a54571d23556ce07d2fbd3a260b64323b5bb512aa366f860833e76bb21f/agent360-1.3.1-py3-none-any.whl (68kB)\nCollecting certifi (from agent360)\n  Downloading https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl (167kB)\nCollecting psutil (from agent360)\n  Downloading https://files.pythonhosted.org/packages/26/10/2a30b13c61e7cf937f4adf90710776b7918ed0a9c434e2c38224732af310/psutil-6.1.0.tar.gz (508kB)\nRequirement already up-to-date: configparser in /usr/local/lib/python3.6/site-packages (from agent360)\nRequirement already up-to-date: netifaces in /usr/local/lib64/python3.6/site-packages (from agent360)\nRequirement already up-to-date: distro in /usr/local/lib/python3.6/site-packages (from agent360)\nRequirement already up-to-date: future in /usr/local/lib/python3.6/site-packages (from agent360)\nInstalling collected packages: certifi, psutil, agent360\n  Found existing installation: certifi 2024.7.4\n    Uninstalling certifi-2024.7.4:\n      Successfully uninstalled certifi-2024.7.4\n  Found existing installation: psutil 6.0.0\n    Uninstalling psutil-6.0.0:\n      Successfully uninstalled psutil-6.0.0\n  Running setup.py install for psutil: started\n    Running setup.py install for psutil: finished with status 'done'\n  Found existing installation: agent360 1.3.0\n    Uninstalling agent360-1.3.0:\n      Successfully uninstalled agent360-1.3.0\nSuccessfully installed agent360-1.3.1 certifi-2024.8.30 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)","Collecting certifi (from agent360)","  Downloading https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl (167kB)","Collecting psutil (from agent360)","  Downloading https://files.pythonhosted.org/packages/26/10/2a30b13c61e7cf937f4adf90710776b7918ed0a9c434e2c38224732af310/psutil-6.1.0.tar.gz (508kB)","Requirement already up-to-date: configparser 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)","Requirement already up-to-date: distro 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)","Installing collected packages: certifi, psutil, agent360","  Found existing installation: certifi 2024.7.4","    Uninstalling certifi-2024.7.4:","      Successfully uninstalled certifi-2024.7.4","  Found existing installation: psutil 6.0.0","    Uninstalling psutil-6.0.0:","      Successfully uninstalled psutil-6.0.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.1 certifi-2024.8.30 psutil-6.1.0"]},"created":"2024-12-09T16:21:56.352627Z","updated":"2024-12-09T16:21:56.352647Z","started":"2024-12-09T16:21:50.413519Z","ended":"2024-12-09T16:21:56.337647Z","duration":"00:00:05.924128","changed":false,"ignore_errors":false}