{"id":980212,"status":"changed","playbook":{"id":5629,"items":{"plays":2,"tasks":26,"results":26,"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/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-29T09:10:30.166813+01:00","ended":"2026-04-29T09:13:10.304533+01:00","duration":"00:02:40.137720","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":6301,"items":{"tasks":25,"results":25},"started":"2026-04-29T09:10:30.304516+01:00","ended":"2026-04-29T09:12:38.467788+01:00","duration":"00:02:08.163272","name":"New KVM server provisioning scripts","status":"completed"},"task":{"id":13910,"items":{"results":1},"path":"/home/ssh-gateway/ansible/projects/kvm_node_install/setup_new_node.yaml","tags":["firewall","stage1"],"started":"2026-04-29T09:12:07.828625+01:00","ended":"2026-04-29T09:12:12.583967+01:00","duration":"00:00:04.755342","name":"Install Firewall360","uuid":"001851d0-75dc-6313-a0de-000000000015","action":"ansible.builtin.shell","lineno":157,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":7788},"host":{"id":340146,"name":"kvm4-dev","changed":21,"failed":1,"ok":25,"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:04.311587","end":"2026-04-29 08:12:12.540230","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 08:12:08.228643","stderr":"Removed \"/etc/systemd/system/multi-user.target.wants/firewalld.service\".\nRemoved \"/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service\".\nWARNING: 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   275k      0 --:--:-- --:--:-- --:--:--  275k\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  19368      0 --:--:-- --:--:-- --:--:-- 19368\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":["Removed \"/etc/systemd/system/multi-user.target.wants/firewalld.service\".","Removed \"/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service\".","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   275k      0 --:--:-- --:--:-- --:--:--  275k","  % 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  19368      0 --:--:-- --:--:-- --:--:-- 19368","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 29 08:11:59 2026.\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): ipset-service-7.11-11.el9_5.noarch.rpm   239 kB/s |  12 kB     00:00    \n(2/2): iptables-nft-services-1.8.10-11.el9_5.no 350 kB/s |  18 kB     00:00    \n--------------------------------------------------------------------------------\nTotal                                            96 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): \nCollecting requests\n  Downloading requests-2.32.5-py3-none-any.whl (64 kB)\nCollecting idna<4,>=2.5\n  Downloading idna-3.13-py3-none-any.whl (68 kB)\nCollecting urllib3<3,>=1.21.1\n  Downloading urllib3-2.6.3-py3-none-any.whl (131 kB)\nCollecting charset_normalizer<4,>=2\n  Downloading charset_normalizer-3.4.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (208 kB)\nRequirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests) (2024.8.30)\nInstalling collected packages: urllib3, idna, charset-normalizer, requests\nSuccessfully installed charset-normalizer-3.4.7 idna-3.13 requests-2.32.5 urllib3-2.6.3\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:09 ago on Wed Apr 29 08:11:59 2026.","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): ipset-service-7.11-11.el9_5.noarch.rpm   239 kB/s |  12 kB     00:00    ","(2/2): iptables-nft-services-1.8.10-11.el9_5.no 350 kB/s |  18 kB     00:00    ","--------------------------------------------------------------------------------","Total                                            96 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): ","Collecting requests","  Downloading requests-2.32.5-py3-none-any.whl (64 kB)","Collecting idna<4,>=2.5","  Downloading idna-3.13-py3-none-any.whl (68 kB)","Collecting urllib3<3,>=1.21.1","  Downloading urllib3-2.6.3-py3-none-any.whl (131 kB)","Collecting charset_normalizer<4,>=2","  Downloading charset_normalizer-3.4.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (208 kB)","Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests) (2024.8.30)","Installing collected packages: urllib3, idna, charset-normalizer, requests","Successfully installed charset-normalizer-3.4.7 idna-3.13 requests-2.32.5 urllib3-2.6.3","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-29T09:12:12.567690+01:00","updated":"2026-04-29T09:12:12.567716+01:00","started":"2026-04-29T09:12:07.876650+01:00","ended":"2026-04-29T09:12:12.560871+01:00","duration":"00:00:04.684221","changed":true,"ignore_errors":false}