{"id":980288,"status":"changed","playbook":{"id":5642,"items":{"plays":7,"tasks":42,"results":42,"hosts":4,"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/projects/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"}],"started":"2026-04-29T11:53:36.653756+01:00","ended":"2026-04-29T11:55:59.147606+01:00","duration":"00:02:22.493850","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/projects/kvm_node_install/setup_new_node.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":6360,"items":{"tasks":27,"results":27},"started":"2026-04-29T11:53:36.790993+01:00","ended":"2026-04-29T11:55:41.417002+01:00","duration":"00:02:04.626009","name":"New KVM server provisioning scripts","status":"completed"},"task":{"id":13993,"items":{"results":1},"path":"/home/ssh-gateway/ansible/projects/kvm_node_install/setup_new_node.yaml","tags":["agent360","monitoring","stage1"],"started":"2026-04-29T11:55:05.242580+01:00","ended":"2026-04-29T11:55:12.070026+01:00","duration":"00:00:06.827446","name":"Install Agent360 monitoring agent","uuid":"001851d0-75dc-f043-ad92-000000000017","action":"ansible.builtin.shell","lineno":150,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":7801},"host":{"id":340166,"name":"kvm3-dev","changed":23,"failed":0,"ok":33,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":true,"cmd":"set -o pipefail\nbash /tmp/agent360.sh 6225dd3b2c8afd50166ae988\n","delta":"0:00:06.166683","end":"2026-04-29 10:55:12.016691","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-29 10:55:05.850008","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/etc/agent360-panel.ini does not exist. Creating the file...\n/etc/agent360-custom.ini does not exist. Creating the file...\n> Generating a server ID...\n\u001b[32m  [SUCCESS] The server token has been generated: 69f1e38f15a79523560a2eb4\u001b[m\n> Adding the user...\n\u001b[32m  [SUCCESS] The user has been created\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...","/etc/agent360-panel.ini does not exist. Creating the file...","/etc/agent360-custom.ini does not exist. Creating the file...","> Generating a server ID...","\u001b[32m  [SUCCESS] The server token has been generated: 69f1e38f15a79523560a2eb4\u001b[m","> Adding the user...","\u001b[32m  [SUCCESS] The user has been created\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-29T11:55:12.044570+01:00","updated":"2026-04-29T11:55:12.044596+01:00","started":"2026-04-29T11:55:05.290574+01:00","ended":"2026-04-29T11:55:12.038170+01:00","duration":"00:00:06.747596","changed":true,"ignore_errors":false}