{"id":186105,"status":"ok","playbook":{"id":2310,"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":"warehouse.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":142,"name":"subset:warehouse.vm.plesk-server.com"}],"started":"2024-12-09T16:31:51.466626Z","ended":"2024-12-09T16:31:55.705219Z","duration":"00:00:04.238593","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":2625,"items":{"tasks":4,"results":4},"started":"2024-12-09T16:31:51.502562Z","ended":"2024-12-09T16:31:55.609173Z","duration":"00:00:04.106611","name":"Playbook to upgrade agent360 agent via pip","status":"completed"},"task":{"id":5701,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/agent360_upgrade.yaml","tags":[],"started":"2024-12-09T16:31:51.566458Z","ended":"2024-12-09T16:31:53.639162Z","duration":"00:00:02.072704","name":"Upgrade agent360 package via pip","uuid":"001851d0-75dc-dd32-d694-00000000011e","action":"ansible.builtin.shell","lineno":6,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":4386},"host":{"id":78084,"name":"warehouse.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.458213","end":"2024-12-09 16:31:53.590738","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:31:52.132525","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\n\n[notice] A new release of pip is available: 24.0 -> 24.3.1\n[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: 24.0 -> 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.3.0)\nCollecting agent360\n  Downloading agent360-1.3.1-py3-none-any.whl.metadata (4.5 kB)\nRequirement already satisfied: psutil in /usr/local/lib/python3.10/site-packages (from agent360) (5.9.4)\nRequirement already satisfied: netifaces in /usr/local/lib/python3.10/site-packages (from agent360) (0.11.0)\nRequirement already satisfied: configparser in /usr/local/lib/python3.10/site-packages (from agent360) (5.3.0)\nRequirement already satisfied: future in /usr/local/lib/python3.10/site-packages (from agent360) (0.18.3)\nRequirement already satisfied: distro in /usr/local/lib/python3.10/site-packages (from agent360) (1.8.0)\nRequirement already satisfied: certifi in /usr/local/lib/python3.10/site-packages (from agent360) (2022.12.7)\nDownloading agent360-1.3.1-py3-none-any.whl (68 kB)\n   \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 68.5/68.5 kB 12.5 MB/s eta 0:00:00\nInstalling collected packages: agent360\n  Attempting uninstall: agent360\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","stdout_lines":["Requirement already satisfied: agent360 in /usr/local/lib/python3.10/site-packages (1.3.0)","Collecting agent360","  Downloading agent360-1.3.1-py3-none-any.whl.metadata (4.5 kB)","Requirement already satisfied: psutil in /usr/local/lib/python3.10/site-packages (from agent360) (5.9.4)","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) (5.3.0)","Requirement already satisfied: future in /usr/local/lib/python3.10/site-packages (from agent360) (0.18.3)","Requirement already satisfied: distro in /usr/local/lib/python3.10/site-packages (from agent360) (1.8.0)","Requirement already satisfied: certifi in /usr/local/lib/python3.10/site-packages (from agent360) (2022.12.7)","Downloading agent360-1.3.1-py3-none-any.whl (68 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 68.5/68.5 kB 12.5 MB/s eta 0:00:00","Installing collected packages: agent360","  Attempting uninstall: agent360","    Found existing installation: agent360 1.3.0","    Uninstalling agent360-1.3.0:","      Successfully uninstalled agent360-1.3.0","Successfully installed agent360-1.3.1"]},"created":"2024-12-09T16:31:53.630755Z","updated":"2024-12-09T16:31:53.630778Z","started":"2024-12-09T16:31:51.618152Z","ended":"2024-12-09T16:31:53.613794Z","duration":"00:00:01.995642","changed":false,"ignore_errors":false}