{"id":7912,"status":"changed","playbook":{"id":189,"items":{"plays":1,"tasks":1,"results":32,"hosts":32,"files":1,"records":0},"arguments":{"version":null,"verbosity":2,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"inventory":["/home/ssh-gateway/ansible/bash-kvm-inventory-prod.sh"],"listhosts":false,"subset":"!pink-thunder.chi-1.vm.plesk-server.com:!no-360-installed.vm.plesk-server.com:!internal-raul.vm.plesk-server.com","poll_interval":15,"seconds":0,"one_line":false,"tree":null,"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,"check":false,"diff":false,"extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":30,"module_path":null,"basedir":null,"task_timeout":0,"module_args":"curl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh  | bash -s provider_metrics ; service agent360 restart","module_name":"shell","args":"all"},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":25,"name":"subset:!pink-thunder.chi-1.vm.plesk-server.com:!no-360-installed.vm.plesk-server.com:!internal-raul.vm.plesk-server.com"}],"started":"2024-04-10T13:44:00.297900+01:00","ended":"2024-04-10T13:44:06.957526+01:00","duration":"00:00:06.659626","name":null,"ansible_version":"2.16.4","client_version":"1.7.1","python_version":"3.10.10","server_version":"1.7.2.dev2","status":"failed","path":"Ad-Hoc: shell: curl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh  | bash -s provider_metrics ; service agent360 restart","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":189,"items":{"tasks":1,"results":32},"started":"2024-04-10T13:44:00.405459+01:00","ended":"2024-04-10T13:44:05.321721+01:00","duration":"00:00:04.916262","name":"Ansible Ad-Hoc","status":"completed"},"task":{"id":261,"items":{"results":32},"path":"Ad-Hoc: shell: curl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh  | bash -s provider_metrics ; service agent360 restart","tags":[],"started":"2024-04-10T13:44:00.573534+01:00","ended":"2024-04-10T13:44:05.269982+01:00","duration":"00:00:04.696448","name":"shell","uuid":"001851d0-75dc-a440-f50d-000000000027","action":"shell","lineno":1,"handler":false,"status":"failed","warnings":[],"deprecations":[],"exceptions":[],"file":189},"host":{"id":4624,"name":"internal-luca-c.vm.plesk-server.com","changed":1,"failed":0,"ok":1,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":true,"cmd":"curl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh  | bash -s provider_metrics ; service agent360 restart","delta":"0:00:01.184960","end":"2024-04-10 12:44:03.411460","invocation":{"module_args":{"_raw_params":"curl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh  | bash -s provider_metrics ; service agent360 restart","_uses_shell":true,"argv":null,"chdir":null,"creates":null,"executable":null,"expand_argument_vars":true,"removes":null,"stdin":null,"stdin_add_newline":true,"strip_empty_ends":true}},"msg":"","rc":0,"start":"2024-04-10 12:44:02.226500","stderr":"grep: /etc/agent360-custom.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    73  100    73    0     0   3476      0 --:--:-- --:--:-- --:--:--  3476\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  8393  100  8393    0     0   455k      0 --:--:-- --:--:-- --:--:--  455k\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\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100   259  100   259    0     0   9592      0 --:--:-- --:--:-- --:--:--  9250\ncat: /tmp/agent360.oom.txt: No such file or directory\nRedirecting to /bin/systemctl status kcare.service\nRedirecting to /bin/systemctl restart agent360.service\nRedirecting to /bin/systemctl restart agent360.service","stderr_lines":["grep: /etc/agent360-custom.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    73  100    73    0     0   3476      0 --:--:-- --:--:-- --:--:--  3476","  % 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  8393  100  8393    0     0   455k      0 --:--:-- --:--:-- --:--:--  455k","  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current","                                 Dload  Upload   Total   Spent    Left  Speed","","  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0","  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0","100   259  100   259    0     0   9592      0 --:--:-- --:--:-- --:--:--  9250","cat: /tmp/agent360.oom.txt: No such file or directory","Redirecting to /bin/systemctl status kcare.service","Redirecting to /bin/systemctl restart agent360.service","Redirecting to /bin/systemctl restart agent360.service"],"stdout":"Adding conf, so this is an install\nprovider_metrics:\n{\n    \"firewall_up\": 1,\n    \"http_response_code\": 200,\n    \"http_response_time_ms\": 2.6879999999999997,\n    \"kcare_status\": 1,\n    \"mysql_free_connections\": 148,\n    \"mysql_iptables_drop\": 1,\n    \"mysql_response_time_ms\": 19.68669891357422,\n    \"oom_kills_since_reboot\": 0,\n    \"queue_size\": 0,\n    \"recent_oom_kills\": 0,\n    \"smtp_response_time_ms\": 40.23551940917969,\n    \"ssh_port_checksum_ok\": 0,\n    \"time_sync_enabled\": 1\n}","stdout_lines":["Adding conf, so this is an install","provider_metrics:","{","    \"firewall_up\": 1,","    \"http_response_code\": 200,","    \"http_response_time_ms\": 2.6879999999999997,","    \"kcare_status\": 1,","    \"mysql_free_connections\": 148,","    \"mysql_iptables_drop\": 1,","    \"mysql_response_time_ms\": 19.68669891357422,","    \"oom_kills_since_reboot\": 0,","    \"queue_size\": 0,","    \"recent_oom_kills\": 0,","    \"smtp_response_time_ms\": 40.23551940917969,","    \"ssh_port_checksum_ok\": 0,","    \"time_sync_enabled\": 1","}"]},"created":"2024-04-10T13:44:04.571990+01:00","updated":"2024-04-10T13:44:04.572020+01:00","started":"2024-04-10T13:44:01.755424+01:00","ended":"2024-04-10T13:44:04.513318+01:00","duration":"00:00:02.757894","changed":true,"ignore_errors":false}