{"id":220147,"status":"failed","playbook":{"id":2595,"items":{"plays":1,"tasks":7,"results":2592,"hosts":376,"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":["install_agent360_plugin.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"}],"started":"2025-02-27T11:37:27.911557Z","ended":"2025-02-27T11:44:30.831570Z","duration":"00:07:02.920013","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/install_agent360_plugin.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":2916,"items":{"tasks":7,"results":2592},"started":"2025-02-27T11:37:27.950612Z","ended":"2025-02-27T11:44:12.407311Z","duration":"00:06:44.456699","name":"Playbook to run install a plugin","status":"completed"},"task":{"id":6170,"items":{"results":373},"path":"/home/ssh-gateway/ansible/kuly/install_agent360_plugin.yaml","tags":[],"started":"2025-02-27T11:38:43.814606Z","ended":"2025-02-27T11:39:24.333968Z","duration":"00:00:40.519362","name":"Run plugin install","uuid":"001851d0-75dc-90cb-51f4-00000000017d","action":"ansible.builtin.shell","lineno":12,"handler":false,"status":"failed","warnings":[],"deprecations":[],"exceptions":[],"file":4681},"host":{"id":92627,"name":"excited-chipmunk.wpone-man-1.vm.plesk-server.com","changed":0,"failed":1,"ok":1,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":false,"cmd":"set -o pipefail\ncurl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh  | bash -s process_runtimes\n","delta":"0:00:00.439184","end":"2025-02-27 11:38:56.512013","invocation":{"module_args":{"_raw_params":"set -o pipefail\ncurl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh  | bash -s process_runtimes\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":5,"start":"2025-02-27 11:38:56.072829","stderr":"bash: line 8: agent360: command not found\ngrep: /etc/agent360.ini: No such file or directory\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100    81  100    81    0     0   3681      0 --:--:-- --:--:-- --:--:--  3681\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file \nWarning: /usr/local/lib//site-packages/agent360/plugins/process_runtimes.py: \nWarning: No such file or directory\n\r100  1269  100  1269    0     0  70500      0 --:--:-- --:--:-- --:--:-- 70500\ncurl: (23) Failed writing body (0 != 1269)\nFailed to restart agent360.service: Unit agent360.service not found.\nbash: line 27: /usr/local/bin/agent360: No such file or directory\nRedirecting to /bin/systemctl restart agent360.service\nFailed to restart agent360.service: Unit agent360.service not found.","stderr_lines":["bash: line 8: agent360: command not found","grep: /etc/agent360.ini: No such file or directory","  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current","                                 Dload  Upload   Total   Spent    Left  Speed","","  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0","100    81  100    81    0     0   3681      0 --:--:-- --:--:-- --:--:--  3681","  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current","                                 Dload  Upload   Total   Spent    Left  Speed","","  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file ","Warning: /usr/local/lib//site-packages/agent360/plugins/process_runtimes.py: ","Warning: No such file or directory","","100  1269  100  1269    0     0  70500      0 --:--:-- --:--:-- --:--:-- 70500","curl: (23) Failed writing body (0 != 1269)","Failed to restart agent360.service: Unit agent360.service not found.","bash: line 27: /usr/local/bin/agent360: No such file or directory","Redirecting to /bin/systemctl restart agent360.service","Failed to restart agent360.service: Unit agent360.service not found."],"stdout":"Adding conf, so this is an install","stdout_lines":["Adding conf, so this is an install"]},"created":"2025-02-27T11:39:20.039736Z","updated":"2025-02-27T11:39:20.039760Z","started":"2025-02-27T11:38:55.439897Z","ended":"2025-02-27T11:39:20.033491Z","duration":"00:00:24.593594","changed":false,"ignore_errors":false}