{"id":980289,"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":13994,"items":{"results":1},"path":"/home/ssh-gateway/ansible/projects/kvm_node_install/setup_new_node.yaml","tags":["stage1","firewall"],"started":"2026-04-29T11:55:12.118755+01:00","ended":"2026-04-29T11:55:16.646218+01:00","duration":"00:00:04.527463","name":"Install Firewall360","uuid":"001851d0-75dc-f043-ad92-000000000018","action":"ansible.builtin.shell","lineno":163,"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":"bash <(curl -sL https://tgz.thecode.casa/firewall360/install.sh) <<< 'HARDWARE_NODE'","delta":"0:00:03.865576","end":"2026-04-29 10:55:16.593559","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-29 10:55:12.727983","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   242k      0 --:--:-- --:--:-- --:--:--  242k\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   242k      0 --:--:-- --:--:-- --:--:--  242k","  % 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:07 ago on Wed 29 Apr 2026 10:55:06 UTC.\nDependencies resolved.\n================================================================================\n Package                   Arch       Version               Repository     Size\n================================================================================\nInstalling:\n ipset-service             noarch     7.11-11.el9_5         appstream      12 k\nInstalling dependencies:\n iptables-nft-services     noarch     1.8.10-11.el9_5       appstream      18 k\n\nTransaction Summary\n================================================================================\nInstall  2 Packages\n\nTotal download size: 31 k\nInstalled size: 40 k\nDownloading Packages:\n(1/2): iptables-nft-services-1.8.10-11.el9_5.no 735 kB/s |  18 kB     00:00    \n(2/2): ipset-service-7.11-11.el9_5.noarch.rpm   373 kB/s |  12 kB     00:00    \n--------------------------------------------------------------------------------\nTotal                                           101 kB/s |  31 kB     00:00     \nRunning transaction check\nTransaction check succeeded.\nRunning transaction test\nTransaction test succeeded.\nRunning transaction\n  Preparing        :                                                        1/1 \n  Installing       : iptables-nft-services-1.8.10-11.el9_5.noarch           1/2 \n  Running scriptlet: iptables-nft-services-1.8.10-11.el9_5.noarch           1/2 \n  Installing       : ipset-service-7.11-11.el9_5.noarch                     2/2 \n  Running scriptlet: ipset-service-7.11-11.el9_5.noarch                     2/2 \n  Verifying        : ipset-service-7.11-11.el9_5.noarch                     1/2 \n  Verifying        : iptables-nft-services-1.8.10-11.el9_5.noarch           2/2 \n\nInstalled:\n  ipset-service-7.11-11.el9_5.noarch                                            \n  iptables-nft-services-1.8.10-11.el9_5.noarch                                  \n\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: idna<4,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests) (3.11)\nRequirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests) (2.6.3)\nRequirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests) (2026.2.25)\nRequirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib64/python3.9/site-packages (from requests) (3.4.4)\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\": \"0\",\n    \"ipset_checksum_ok\": 0,\n    \"ipset_comments\": 1,\n    \"ipset_service_up\": \"0\",\n    \"iptables_checksum_ok\": 0,\n    \"iptables_service_up\": \"0\",\n    \"md5sum_available\": 1\n}\nRestarting agent","stdout_lines":["Last metadata expiration check: 0:00:07 ago on Wed 29 Apr 2026 10:55:06 UTC.","Dependencies resolved.","================================================================================"," Package                   Arch       Version               Repository     Size","================================================================================","Installing:"," ipset-service             noarch     7.11-11.el9_5         appstream      12 k","Installing dependencies:"," iptables-nft-services     noarch     1.8.10-11.el9_5       appstream      18 k","","Transaction Summary","================================================================================","Install  2 Packages","","Total download size: 31 k","Installed size: 40 k","Downloading Packages:","(1/2): iptables-nft-services-1.8.10-11.el9_5.no 735 kB/s |  18 kB     00:00    ","(2/2): ipset-service-7.11-11.el9_5.noarch.rpm   373 kB/s |  12 kB     00:00    ","--------------------------------------------------------------------------------","Total                                           101 kB/s |  31 kB     00:00     ","Running transaction check","Transaction check succeeded.","Running transaction test","Transaction test succeeded.","Running transaction","  Preparing        :                                                        1/1 ","  Installing       : iptables-nft-services-1.8.10-11.el9_5.noarch           1/2 ","  Running scriptlet: iptables-nft-services-1.8.10-11.el9_5.noarch           1/2 ","  Installing       : ipset-service-7.11-11.el9_5.noarch                     2/2 ","  Running scriptlet: ipset-service-7.11-11.el9_5.noarch                     2/2 ","  Verifying        : ipset-service-7.11-11.el9_5.noarch                     1/2 ","  Verifying        : iptables-nft-services-1.8.10-11.el9_5.noarch           2/2 ","","Installed:","  ipset-service-7.11-11.el9_5.noarch                                            ","  iptables-nft-services-1.8.10-11.el9_5.noarch                                  ","","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: idna<4,>=2.5 in /usr/local/lib/python3.9/site-packages (from requests) (3.11)","Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.9/site-packages (from requests) (2.6.3)","Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests) (2026.2.25)","Requirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib64/python3.9/site-packages (from requests) (3.4.4)","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\": \"0\",","    \"ipset_checksum_ok\": 0,","    \"ipset_comments\": 1,","    \"ipset_service_up\": \"0\",","    \"iptables_checksum_ok\": 0,","    \"iptables_service_up\": \"0\",","    \"md5sum_available\": 1","}","Restarting agent"]},"created":"2026-04-29T11:55:16.623139+01:00","updated":"2026-04-29T11:55:16.623164+01:00","started":"2026-04-29T11:55:12.166562+01:00","ended":"2026-04-29T11:55:16.615966+01:00","duration":"00:00:04.449404","changed":true,"ignore_errors":false}