{"id":286552,"status":"ok","playbook":{"id":3052,"items":{"plays":1,"tasks":4,"results":1522,"hosts":388,"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":null,"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"}],"started":"2025-05-28T10:47:41.566115+01:00","ended":"2025-05-28T10:51:07.588395+01:00","duration":"00:03:26.022280","name":null,"ansible_version":"2.16.11","client_version":"1.7.2","python_version":"3.10.10","server_version":"1.7.2","status":"failed","path":"/home/ssh-gateway/ansible/kuly/agent360_upgrade.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":3384,"items":{"tasks":4,"results":1522},"started":"2025-05-28T10:47:41.610931+01:00","ended":"2025-05-28T10:50:48.580809+01:00","duration":"00:03:06.969878","name":"Playbook to upgrade agent360 agent via pip","status":"completed"},"task":{"id":7209,"items":{"results":388},"path":"/home/ssh-gateway/ansible/kuly/agent360_upgrade.yaml","tags":[],"started":"2025-05-28T10:47:42.297681+01:00","ended":"2025-05-28T10:49:04.628722+01:00","duration":"00:01:22.331041","name":"Upgrade agent360 package via pip","uuid":"001851d0-75dc-c805-dd07-000000000187","action":"ansible.builtin.shell","lineno":6,"handler":false,"status":"failed","warnings":[],"deprecations":[],"exceptions":[],"file":5172},"host":{"id":116408,"name":"gold-moon.man-1.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:01.928527","end":"2025-05-28 10:47:45.827995","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 10:47:43.899468","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":"Requirement already up-to-date: agent360 in /usr/local/lib/python3.6/site-packages\nRequirement already up-to-date: future in /usr/local/lib/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: configparser in /usr/local/lib/python3.6/site-packages (from agent360)\nRequirement already up-to-date: certifi 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: psutil in /usr/local/lib64/python3.6/site-packages (from agent360)","stdout_lines":["Requirement already up-to-date: agent360 in /usr/local/lib/python3.6/site-packages","Requirement already up-to-date: future in /usr/local/lib/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: configparser in /usr/local/lib/python3.6/site-packages (from agent360)","Requirement already up-to-date: certifi 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: psutil in /usr/local/lib64/python3.6/site-packages (from agent360)"]},"created":"2025-05-28T10:48:41.680903+01:00","updated":"2025-05-28T10:48:41.680928+01:00","started":"2025-05-28T10:47:43.297193+01:00","ended":"2025-05-28T10:48:41.628693+01:00","duration":"00:00:58.331500","changed":false,"ignore_errors":false}