{"id":972413,"status":"failed","playbook":{"id":5545,"items":{"plays":1,"tasks":13,"results":13,"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:58:39.589166+01:00","ended":"2026-04-22T13:59:17.622094+01:00","duration":"00:00:38.032928","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":6080,"items":{"tasks":13,"results":13},"started":"2026-04-22T13:58:39.735432+01:00","ended":"2026-04-22T13:59:17.557286+01:00","duration":"00:00:37.821854","name":"New KVM server provisioning scripts","status":"completed"},"task":{"id":13612,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/kvm_node_install/setup_new_node.yaml","tags":["firewall","security"],"started":"2026-04-22T13:59:15.442357+01:00","ended":"2026-04-22T13:59:17.504806+01:00","duration":"00:00:02.062449","name":"Install Firewall360","uuid":"001851d0-75dc-9bd2-f2c1-000000000011","action":"ansible.builtin.shell","lineno":116,"handler":false,"status":"failed","warnings":[],"deprecations":[],"exceptions":[],"file":7703},"host":{"id":337996,"name":"kvm024","changed":6,"failed":1,"ok":12,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":false,"cmd":"bash <(curl -sL https://tgz.thecode.casa/firewall360/install.sh) <<< 'HARDWARE_NODE'","delta":"0:00:01.651271","end":"2026-04-22 12:59:17.450496","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":"non-zero return code","rc":5,"start":"2026-04-22 12:59:15.799225","stderr":"Removed \"/etc/systemd/system/multi-user.target.wants/firewalld.service\".\nRemoved \"/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service\".\n/dev/fd/63: line 8: agent360: command not found\n/dev/fd/63: line 22: cd: /usr/local/lib//site-packages/agent360/plugins: No such file or directory\n/dev/fd/63: line 24: -m: command not found\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 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file \nWarning: /usr/local/lib//site-packages/agent360/plugins/firewall.py: No such \nWarning: file or directory\n\r100  4230  100  4230    0     0   275k      0 --:--:-- --:--:-- --:--:--  275k\ncurl: (23) Failure writing output to destination\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  26285      0 --:--:-- --:--:-- --:--:-- 26285\nsudo: unknown user: agent360\nsudo: error initializing audit plugin sudoers_audit\nRedirecting to /bin/systemctl restart agent360.service\nFailed to restart agent360.service: Unit agent360.service not found.","stderr_lines":["Removed \"/etc/systemd/system/multi-user.target.wants/firewalld.service\".","Removed \"/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service\".","/dev/fd/63: line 8: agent360: command not found","/dev/fd/63: line 22: cd: /usr/local/lib//site-packages/agent360/plugins: No such file or directory","/dev/fd/63: line 24: -m: command not found","  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current","                                 Dload  Upload   Total   Spent    Left  Speed","","  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file ","Warning: /usr/local/lib//site-packages/agent360/plugins/firewall.py: No such ","Warning: file or directory","","100  4230  100  4230    0     0   275k      0 --:--:-- --:--:-- --:--:--  275k","curl: (23) Failure writing output to destination","  % 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  26285      0 --:--:-- --:--:-- --:--:-- 26285","sudo: unknown user: agent360","sudo: error initializing audit plugin sudoers_audit","Redirecting to /bin/systemctl restart agent360.service","Failed to restart agent360.service: Unit agent360.service not found."],"stdout":"kernelcare                                       21 kB/s | 3.0 kB     00:00    \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 1.0 MB/s |  18 kB     00:00    \n(2/2): ipset-service-7.11-11.el9_5.noarch.rpm   333 kB/s |  12 kB     00:00    \n--------------------------------------------------------------------------------\nTotal                                           103 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): \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) \nRestarting agent","stdout_lines":["kernelcare                                       21 kB/s | 3.0 kB     00:00    ","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 1.0 MB/s |  18 kB     00:00    ","(2/2): ipset-service-7.11-11.el9_5.noarch.rpm   333 kB/s |  12 kB     00:00    ","--------------------------------------------------------------------------------","Total                                           103 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): ","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) ","Restarting agent"]},"created":"2026-04-22T13:59:17.494797+01:00","updated":"2026-04-22T13:59:17.494843+01:00","started":"2026-04-22T13:59:15.492266+01:00","ended":"2026-04-22T13:59:17.484362+01:00","duration":"00:00:01.992096","changed":false,"ignore_errors":false}