{"id":972427,"status":"changed","playbook":{"id":5547,"items":{"plays":1,"tasks":17,"results":17,"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":["swap"],"check":false,"diff":false,"inventory":["/home/ssh-gateway/ansible/kuly/kvm_node_install/kvm-install-inv.ini"],"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":["setup_new_node.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"},{"id":294,"name":"skip_tags:swap"}],"started":"2026-04-22T14:06:55.372904+01:00","ended":"2026-04-22T14:08:11.313175+01:00","duration":"00:01:15.940271","name":null,"ansible_version":"2.16.13","client_version":"1.7.5","python_version":"3.10.10","server_version":"1.7.5","status":"failed","path":"/home/ssh-gateway/ansible/kuly/kvm_node_install/setup_new_node.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":6082,"items":{"tasks":17,"results":17},"started":"2026-04-22T14:06:55.513123+01:00","ended":"2026-04-22T14:08:11.217293+01:00","duration":"00:01:15.704170","name":"New KVM server provisioning scripts","status":"completed"},"task":{"id":13626,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/kvm_node_install/setup_new_node.yaml","tags":["agent360","monitoring"],"started":"2026-04-22T14:07:07.627214+01:00","ended":"2026-04-22T14:07:10.272774+01:00","duration":"00:00:02.645560","name":"Install Agent360 monitoring agent","uuid":"001851d0-75dc-9a13-1e28-000000000012","action":"ansible.builtin.shell","lineno":124,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":7705},"host":{"id":337998,"name":"kvm024","changed":11,"failed":1,"ok":16,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":true,"cmd":"set -o pipefail\nbash /tmp/agent360.sh 6225dd3b2c8afd50166ae988\n","delta":"0:00:02.246394","end":"2026-04-22 13:07:10.227308","invocation":{"module_args":{"_raw_params":"set -o pipefail\nbash /tmp/agent360.sh 6225dd3b2c8afd50166ae988\n","_uses_shell":true,"argv":null,"chdir":"/tmp","creates":null,"executable":null,"expand_argument_vars":true,"removes":null,"stdin":null,"stdin_add_newline":true,"strip_empty_ends":true}},"msg":"","rc":0,"start":"2026-04-22 13:07:07.980914","stderr":"","stderr_lines":[],"stdout":"> Getting the Linux distribution name and version...\n\u001b[32m  [SUCCESS] Found AlmaLinux 9\u001b[m\n> Installing the necessary packages...\n\u001b[32m  [SUCCESS] All the necessary packages were installed\u001b[m\n> Installing agent360...\n> Creating requirements.txt with hash verification for agent360...\n\u001b[32m  [SUCCESS] Finished with agent360\u001b[m\n\u001b[32m  [SUCCESS] agent360 installed\u001b[m\n> Preparing the agent360 configuration...\n\u001b[31m  [ERROR] An error occurred. Please check the log /var/log/agent360-install.log for details\u001b[m\n> Adding custom agent360 configuration files...\n> Generating a server ID...\n\u001b[33m  [NOTE] The server already has the ID in /etc/agent360-token.ini: 69e8c7d3d7fe1a73c90ab1a4\u001b[m\n> Adding the user...\n\u001b[33m  [NOTE] The user already exists\u001b[m\n> Creating the service...\n\u001b[32m  [SUCCESS] The service has been created\u001b[m\n> Trying to enable and start the service...\n\u001b[32m  [SUCCESS] The service has been configured\u001b[m","stdout_lines":["> Getting the Linux distribution name and version...","\u001b[32m  [SUCCESS] Found AlmaLinux 9\u001b[m","> Installing the necessary packages...","\u001b[32m  [SUCCESS] All the necessary packages were installed\u001b[m","> Installing agent360...","> Creating requirements.txt with hash verification for agent360...","\u001b[32m  [SUCCESS] Finished with agent360\u001b[m","\u001b[32m  [SUCCESS] agent360 installed\u001b[m","> Preparing the agent360 configuration...","\u001b[31m  [ERROR] An error occurred. Please check the log /var/log/agent360-install.log for details\u001b[m","> Adding custom agent360 configuration files...","> Generating a server ID...","\u001b[33m  [NOTE] The server already has the ID in /etc/agent360-token.ini: 69e8c7d3d7fe1a73c90ab1a4\u001b[m","> Adding the user...","\u001b[33m  [NOTE] The user already exists\u001b[m","> Creating the service...","\u001b[32m  [SUCCESS] The service has been created\u001b[m","> Trying to enable and start the service...","\u001b[32m  [SUCCESS] The service has been configured\u001b[m"]},"created":"2026-04-22T14:07:10.257669+01:00","updated":"2026-04-22T14:07:10.257700+01:00","started":"2026-04-22T14:07:07.677184+01:00","ended":"2026-04-22T14:07:10.249782+01:00","duration":"00:00:02.572598","changed":true,"ignore_errors":false}