{"id":972445,"status":"changed","playbook":{"id":5548,"items":{"plays":1,"tasks":18,"results":18,"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:15:55.769772+01:00","ended":"2026-04-22T14:17:22.027312+01:00","duration":"00:01:26.257540","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":6083,"items":{"tasks":18,"results":18},"started":"2026-04-22T14:15:55.920992+01:00","ended":"2026-04-22T14:17:21.929308+01:00","duration":"00:01:26.008316","name":"New KVM server provisioning scripts","status":"completed"},"task":{"id":13644,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/kvm_node_install/setup_new_node.yaml","tags":["agent360","monitoring"],"started":"2026-04-22T14:16:24.975333+01:00","ended":"2026-04-22T14:16:28.275328+01:00","duration":"00:00:03.299995","name":"Install Agent360 monitoring agent","uuid":"001851d0-75dc-b538-d31d-000000000013","action":"ansible.builtin.shell","lineno":142,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":7706},"host":{"id":337999,"name":"kvm024","changed":9,"failed":1,"ok":17,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":true,"cmd":"set -o pipefail\nbash /tmp/agent360.sh 6225dd3b2c8afd50166ae988\n","delta":"0:00:02.897046","end":"2026-04-22 13:16:28.223735","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:16:25.326689","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[32m  [SUCCESS] The default template for agent360 has been installed\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[32m  [SUCCESS] The default template for agent360 has been installed\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:16:28.256413+01:00","updated":"2026-04-22T14:16:28.256447+01:00","started":"2026-04-22T14:16:25.026266+01:00","ended":"2026-04-22T14:16:28.247090+01:00","duration":"00:00:03.220824","changed":true,"ignore_errors":false}