{"id":191612,"status":"failed","playbook":{"id":2374,"items":{"plays":1,"tasks":2,"results":579,"hosts":297,"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":"2024-12-16T14:05:04.975339Z","ended":"2024-12-16T14:07:13.163608Z","duration":"00:02:08.188269","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_check_version.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":2689,"items":{"tasks":2,"results":579},"started":"2024-12-16T14:05:05.017445Z","ended":"2024-12-16T14:06:58.285974Z","duration":"00:01:53.268529","name":"Check if there is a need to upgrade agent360","status":"completed"},"task":{"id":5820,"items":{"results":296},"path":"/home/ssh-gateway/ansible/kuly/agent360_check_version.yaml","tags":[],"started":"2024-12-16T14:05:13.517264Z","ended":"2024-12-16T14:06:02.606224Z","duration":"00:00:49.088960","name":"Get installed version and compare","uuid":"001851d0-75dc-65e2-6f6b-00000000012b","action":"ansible.builtin.shell","lineno":8,"handler":false,"status":"failed","warnings":[],"deprecations":[],"exceptions":[],"file":4450},"host":{"id":80909,"name":"gold-caterpillar.chi-1.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.009427","end":"2024-12-16 08:05:29.742544","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":"2024-12-16 08:05:29.733117","stderr":"/usr/bin/which: no agent360 in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/.dotnet/tools:/opt/ls_tools)\n/bin/bash: line 1: pip: command not found","stderr_lines":["/usr/bin/which: no agent360 in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/.dotnet/tools:/opt/ls_tools)","/bin/bash: line 1: pip: command not found"],"stdout":"","stdout_lines":[]},"created":"2024-12-16T14:05:52.265377Z","updated":"2024-12-16T14:05:52.265417Z","started":"2024-12-16T14:05:28.036608Z","ended":"2024-12-16T14:05:52.208456Z","duration":"00:00:24.171848","changed":true,"ignore_errors":false}