{"id":405506,"status":"failed","playbook":{"id":3610,"items":{"plays":2,"tasks":4,"results":790,"hosts":402,"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_check_version.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"}],"started":"2025-08-29T12:47:04.365054+01:00","ended":"2025-08-29T12:48:34.075223+01:00","duration":"00:01:29.710169","name":null,"ansible_version":"2.16.11","client_version":"1.7.3","python_version":"3.10.10","server_version":"1.7.3","status":"failed","path":"/home/ssh-gateway/ansible/kuly/agent360_check_version.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":3991,"items":{"tasks":2,"results":788},"started":"2025-08-29T12:47:05.547240+01:00","ended":"2025-08-29T12:48:14.382606+01:00","duration":"00:01:08.835366","name":"Check if each host needs agent360 upgrade","status":"completed"},"task":{"id":8714,"items":{"results":401},"path":"/home/ssh-gateway/ansible/kuly/agent360_check_version.yaml","tags":[],"started":"2025-08-29T12:47:06.268303+01:00","ended":"2025-08-29T12:47:50.282260+01:00","duration":"00:00:44.013957","name":"Get installed version and compare","uuid":"001851d0-75dc-b860-8420-000000000198","action":"ansible.builtin.shell","lineno":31,"handler":false,"status":"failed","warnings":[],"deprecations":[],"exceptions":[],"file":5730},"host":{"id":161514,"name":"damien-testing-raw-prod.vm.plesk-server.com","changed":0,"failed":1,"ok":0,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":true,"cmd":"set -o pipefail\npip$(head -1 $(which agent360) | awk -F \"python\" '{print $2}') show agent360 | grep Version | awk '{ print $2 }'\n","delta":"0:00:00.010278","end":"2025-08-29 11:47:45.371575","invocation":{"module_args":{"_raw_params":"set -o pipefail\npip$(head -1 $(which agent360) | awk -F \"python\" '{print $2}') show agent360 | grep Version | awk '{ print $2 }'\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":"non-zero return code","rc":1,"start":"2025-08-29 11:47:45.361297","stderr":"/usr/bin/which: no agent360 in (/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/ls_tools)\n/bin/bash: line 1: pip: command not found","stderr_lines":["/usr/bin/which: no agent360 in (/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/ls_tools)","/bin/bash: line 1: pip: command not found"],"stdout":"","stdout_lines":[]},"created":"2025-08-29T12:47:45.493624+01:00","updated":"2025-08-29T12:47:45.493652+01:00","started":"2025-08-29T12:47:44.919093+01:00","ended":"2025-08-29T12:47:45.435716+01:00","duration":"00:00:00.516623","changed":true,"ignore_errors":false}