{"id":972420,"status":"changed","playbook":{"id":5546,"items":{"plays":1,"tasks":8,"results":8,"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:06:05.289954+01:00","ended":"2026-04-22T14:06:35.145142+01:00","duration":"00:00:29.855188","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":6081,"items":{"tasks":8,"results":8},"started":"2026-04-22T14:06:05.440573+01:00","ended":"2026-04-22T14:06:35.046255+01:00","duration":"00:00:29.605682","name":"New KVM server provisioning scripts","status":"completed"},"task":{"id":13619,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/kvm_node_install/setup_new_node.yaml","tags":["security","firewall"],"started":"2026-04-22T14:06:28.415244+01:00","ended":"2026-04-22T14:06:30.999757+01:00","duration":"00:00:02.584513","name":"Install Firewall360","uuid":"001851d0-75dc-9fd4-26d2-000000000013","action":"ansible.builtin.shell","lineno":137,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":7704},"host":{"id":337997,"name":"kvm024","changed":4,"failed":1,"ok":7,"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:02.188578","end":"2026-04-22 13:06:30.957037","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:06:28.768459","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   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  23000      0 --:--:-- --:--:-- --:--:-- 23000\nTraceback (most recent call last):\n  File \"/usr/local/bin/agent360\", line 8, in <module>\n    sys.exit(main())\n  File \"/usr/local/lib/python3.9/site-packages/agent360/agent360.py\", line 812, in main\n    sys.exit(test_plugins(sys.argv[2:]))\n  File \"/usr/local/lib/python3.9/site-packages/agent360/agent360.py\", line 257, in test_plugins\n    agent = Agent(dry_instance=True)\n  File \"/usr/local/lib/python3.9/site-packages/agent360/agent360.py\", line 311, in __init__\n    self._config_init()\n  File \"/usr/local/lib/python3.9/site-packages/agent360/agent360.py\", line 363, in _config_init\n    config.read(ini_files)\n  File \"/usr/lib64/python3.9/configparser.py\", line 697, in read\n    self._read(fp, filename)\n  File \"/usr/lib64/python3.9/configparser.py\", line 1070, in _read\n    raise DuplicateSectionError(sectname, fpname,\nconfigparser.DuplicateSectionError: While reading from '/etc/agent360-custom.ini' [line  4]: section 'firewall' already exists\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   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  23000      0 --:--:-- --:--:-- --:--:-- 23000","Traceback (most recent call last):","  File \"/usr/local/bin/agent360\", line 8, in <module>","    sys.exit(main())","  File \"/usr/local/lib/python3.9/site-packages/agent360/agent360.py\", line 812, in main","    sys.exit(test_plugins(sys.argv[2:]))","  File \"/usr/local/lib/python3.9/site-packages/agent360/agent360.py\", line 257, in test_plugins","    agent = Agent(dry_instance=True)","  File \"/usr/local/lib/python3.9/site-packages/agent360/agent360.py\", line 311, in __init__","    self._config_init()","  File \"/usr/local/lib/python3.9/site-packages/agent360/agent360.py\", line 363, in _config_init","    config.read(ini_files)","  File \"/usr/lib64/python3.9/configparser.py\", line 697, in read","    self._read(fp, filename)","  File \"/usr/lib64/python3.9/configparser.py\", line 1070, in _read","    raise DuplicateSectionError(sectname, fpname,","configparser.DuplicateSectionError: While reading from '/etc/agent360-custom.ini' [line  4]: section 'firewall' already exists","Redirecting to /bin/systemctl restart agent360.service"],"stdout":"Last metadata expiration check: 0:00:14 ago on Wed Apr 22 13:06:15 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): \nCollecting requests\n  Downloading requests-2.32.5-py3-none-any.whl (64 kB)\nRequirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests) (2024.8.30)\nCollecting idna<4,>=2.5\n  Downloading idna-3.12-py3-none-any.whl (68 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)\nCollecting urllib3<3,>=1.21.1\n  Downloading urllib3-2.6.3-py3-none-any.whl (131 kB)\nInstalling collected packages: urllib3, idna, charset-normalizer, requests\nSuccessfully installed charset-normalizer-3.4.7 idna-3.12 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) \nRestarting agent","stdout_lines":["Last metadata expiration check: 0:00:14 ago on Wed Apr 22 13:06:15 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): ","Collecting requests","  Downloading requests-2.32.5-py3-none-any.whl (64 kB)","Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests) (2024.8.30)","Collecting idna<4,>=2.5","  Downloading idna-3.12-py3-none-any.whl (68 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)","Collecting urllib3<3,>=1.21.1","  Downloading urllib3-2.6.3-py3-none-any.whl (131 kB)","Installing collected packages: urllib3, idna, charset-normalizer, requests","Successfully installed charset-normalizer-3.4.7 idna-3.12 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) ","Restarting agent"]},"created":"2026-04-22T14:06:30.984556+01:00","updated":"2026-04-22T14:06:30.984584+01:00","started":"2026-04-22T14:06:28.464192+01:00","ended":"2026-04-22T14:06:30.976960+01:00","duration":"00:00:02.512768","changed":true,"ignore_errors":false}