{"id":972378,"status":"changed","playbook":{"id":5540,"items":{"plays":1,"tasks":14,"results":14,"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":[],"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"}],"started":"2026-04-22T13:18:41.588139+01:00","ended":"2026-04-22T13:19:35.672212+01:00","duration":"00:00:54.084073","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":6075,"items":{"tasks":14,"results":14},"started":"2026-04-22T13:18:41.733688+01:00","ended":"2026-04-22T13:19:35.574193+01:00","duration":"00:00:53.840505","name":"New KVM server provisioning scripts","status":"completed"},"task":{"id":13576,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/kvm_node_install/setup_new_node.yaml","tags":["security","firewall"],"started":"2026-04-22T13:19:16.457455+01:00","ended":"2026-04-22T13:19:19.703972+01:00","duration":"00:00:03.246517","name":"Install Firewall360","uuid":"001851d0-75dc-b775-8679-000000000011","action":"ansible.builtin.shell","lineno":115,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":7698},"host":{"id":337991,"name":"new_kvm_node","changed":9,"failed":0,"ok":13,"skipped":0,"unreachable":1},"delegated_to":[],"content":{"changed":true,"cmd":"bash <(curl -sL https://tgz.thecode.casa/firewall360/install.sh) <<< 'HARDWARE_NODE'","delta":"0:00:02.788072","end":"2026-04-22 12:19:19.660618","invocation":{"module_args":{"_raw_params":"bash <(curl -sL https://tgz.thecode.casa/firewall360/install.sh) <<< 'HARDWARE_NODE'","_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":"","rc":0,"start":"2026-04-22 12:19:16.872546","stderr":"WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\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  4230  100  4230    0     0   229k      0 --:--:-- --:--:-- --:--:--  229k\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   368  100   368    0     0  21647      0 --:--:-- --:--:-- --:--:-- 21647\nRedirecting to /bin/systemctl status ipset.service\nRedirecting to /bin/systemctl status iptables.service\nRedirecting to /bin/systemctl status ip6tables.service\nRedirecting to /bin/systemctl restart agent360.service","stderr_lines":["WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv","  % 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  4230  100  4230    0     0   229k      0 --:--:-- --:--:-- --:--:--  229k","  % 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   368  100   368    0     0  21647      0 --:--:-- --:--:-- --:--:-- 21647","Redirecting to /bin/systemctl status ipset.service","Redirecting to /bin/systemctl status iptables.service","Redirecting to /bin/systemctl status ip6tables.service","Redirecting to /bin/systemctl restart agent360.service"],"stdout":"Last metadata expiration check: 0:00:06 ago on Wed Apr 22 12:19:11 2026.\nPackage ipset-service-7.11-11.el9_5.noarch is already installed.\nDependencies resolved.\nNothing to do.\nComplete!\nPlease provide server group (default CUSTOM): \nRequirement already satisfied: requests in /usr/lib/python3.9/site-packages (2.25.1)\nRequirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3.9/site-packages (from requests) (4.0.0)\nRequirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.9/site-packages (from requests) (2.10)\nRequirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.9/site-packages (from requests) (1.26.5)\nGetting plugin .. \nEnabling plugin in agent360.ini\n[firewall]\nenabled=true\nfirewall_group = HARDWARE_NODE\nUpdating sudoers.d file:\nTesting plugin..(sudo -u agent360 /usr/local/bin/agent360 test firewall) \nfirewall:\n{\n    \"ip6tables_checksum_ok\": 0,\n    \"ip6tables_service_up\": \"1\",\n    \"ipset_checksum_ok\": 0,\n    \"ipset_comments\": 1,\n    \"ipset_service_up\": \"1\",\n    \"iptables_checksum_ok\": 0,\n    \"iptables_service_up\": \"1\",\n    \"md5sum_available\": 1\n}\nRestarting agent","stdout_lines":["Last metadata expiration check: 0:00:06 ago on Wed Apr 22 12:19:11 2026.","Package ipset-service-7.11-11.el9_5.noarch is already installed.","Dependencies resolved.","Nothing to do.","Complete!","Please provide server group (default CUSTOM): ","Requirement already satisfied: requests in /usr/lib/python3.9/site-packages (2.25.1)","Requirement already satisfied: chardet<5,>=3.0.2 in /usr/lib/python3.9/site-packages (from requests) (4.0.0)","Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3.9/site-packages (from requests) (2.10)","Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.9/site-packages (from requests) (1.26.5)","Getting plugin .. ","Enabling plugin in agent360.ini","[firewall]","enabled=true","firewall_group = HARDWARE_NODE","Updating sudoers.d file:","Testing plugin..(sudo -u agent360 /usr/local/bin/agent360 test firewall) ","firewall:","{","    \"ip6tables_checksum_ok\": 0,","    \"ip6tables_service_up\": \"1\",","    \"ipset_checksum_ok\": 0,","    \"ipset_comments\": 1,","    \"ipset_service_up\": \"1\",","    \"iptables_checksum_ok\": 0,","    \"iptables_service_up\": \"1\",","    \"md5sum_available\": 1","}","Restarting agent"]},"created":"2026-04-22T13:19:19.692643+01:00","updated":"2026-04-22T13:19:19.692673+01:00","started":"2026-04-22T13:19:16.507435+01:00","ended":"2026-04-22T13:19:19.684410+01:00","duration":"00:00:03.176975","changed":true,"ignore_errors":false}