{"id":972446,"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":13645,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/kvm_node_install/setup_new_node.yaml","tags":["security","firewall"],"started":"2026-04-22T14:16:28.326198+01:00","ended":"2026-04-22T14:16:30.514177+01:00","duration":"00:00:02.187979","name":"Install Firewall360","uuid":"001851d0-75dc-b538-d31d-000000000014","action":"ansible.builtin.shell","lineno":155,"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":"bash <(curl -sL https://tgz.thecode.casa/firewall360/install.sh) <<< 'HARDWARE_NODE'","delta":"0:00:01.784138","end":"2026-04-22 13:16:30.469681","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 13:16:28.685543","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   317k      0 --:--:-- --:--:-- --:--:--  317k\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  23000      0 --:--:-- --:--:-- --:--:-- 23000\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   317k      0 --:--:-- --:--:-- --:--:--  317k","  % 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  23000      0 --:--:-- --:--:-- --:--:-- 23000","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:09 ago on Wed Apr 22 13:16:20 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/local/lib/python3.9/site-packages (2.32.5)\nRequirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests) (2.6.3)\nRequirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib64/python3.9/site-packages (from requests) (3.4.7)\nRequirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests) (3.12)\nRequirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests) (2024.8.30)\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\": 1,\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:09 ago on Wed Apr 22 13:16:20 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/local/lib/python3.9/site-packages (2.32.5)","Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests) (2.6.3)","Requirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib64/python3.9/site-packages (from requests) (3.4.7)","Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests) (3.12)","Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests) (2024.8.30)","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\": 1,","    \"ipset_comments\": 1,","    \"ipset_service_up\": \"1\",","    \"iptables_checksum_ok\": 0,","    \"iptables_service_up\": \"1\",","    \"md5sum_available\": 1","}","Restarting agent"]},"created":"2026-04-22T14:16:30.498736+01:00","updated":"2026-04-22T14:16:30.498771+01:00","started":"2026-04-22T14:16:28.376408+01:00","ended":"2026-04-22T14:16:30.490235+01:00","duration":"00:00:02.113827","changed":true,"ignore_errors":false}