{"id":782265,"status":"ok","playbook":{"id":4950,"items":{"plays":1,"tasks":1,"results":1,"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/bash-kvm-inventory-dev.sh"],"listhosts":false,"subset":"siteinaclick-test1.man-1.solus.stage.town","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":["zz-uninstall-wazuh-agent.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"},{"id":267,"name":"subset:siteinaclick-test1.man-1.solus.stage.town"}],"started":"2026-01-28T12:22:26.620390Z","ended":"2026-01-28T12:22:42.871149Z","duration":"00:00:16.250759","name":null,"ansible_version":"2.16.11","client_version":"1.7.4","python_version":"3.10.10","server_version":"1.7.4","status":"completed","path":"/home/ssh-gateway/ansible/kuly/zz-uninstall-wazuh-agent.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":5454,"items":{"tasks":1,"results":1},"started":"2026-01-28T12:22:26.854896Z","ended":"2026-01-28T12:22:42.773112Z","duration":"00:00:15.918216","name":"Uninstall agent","status":"completed"},"task":{"id":12088,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/zz-uninstall-wazuh-agent.yaml","tags":[],"started":"2026-01-28T12:22:26.912138Z","ended":"2026-01-28T12:22:42.724560Z","duration":"00:00:15.812422","name":"Uninstall","uuid":"001851d0-75dc-b362-bc31-000000000022","action":"ansible.builtin.shell","lineno":6,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":7087},"host":{"id":283187,"name":"siteinaclick-test1.man-1.solus.stage.town","changed":0,"failed":0,"ok":1,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":false,"cmd":"set -o pipefail\ndnf -y remove wazuh-agent\nsystemctl disable wazuh-agent\nsystemctl daemon-reload\nrm -rf /var/ossec\n","delta":"0:00:15.158747","end":"2026-01-28 12:22:42.653981","invocation":{"module_args":{"_raw_params":"set -o pipefail\ndnf -y remove wazuh-agent\nsystemctl disable wazuh-agent\nsystemctl daemon-reload\nrm -rf /var/ossec\n","_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-01-28 12:22:27.495234","stderr":"This system is not registered with CloudLinux Network server.\nCloudLinux Network based repositories will be disabled.\nRemoved /etc/systemd/system/multi-user.target.wants/wazuh-agent.service.","stderr_lines":["This system is not registered with CloudLinux Network server.","CloudLinux Network based repositories will be disabled.","Removed /etc/systemd/system/multi-user.target.wants/wazuh-agent.service."],"stdout":"Command rhn_check exited with code zero. That usually means that registration is not needed. Use --force to override\nDependencies resolved.\n================================================================================\n Package              Architecture    Version            Repository        Size\n================================================================================\nRemoving:\n wazuh-agent          x86_64          4.8.1-1            @System           29 M\n\nTransaction Summary\n================================================================================\nRemove  1 Package\n\nFreed space: 29 M\nRunning transaction check\nTransaction check succeeded.\nRunning transaction test\nTransaction test succeeded.\nRunning transaction\n  Preparing        :                                                        1/1 \n  Running scriptlet: wazuh-agent-4.8.1-1.x86_64                             1/1 \n  Erasing          : wazuh-agent-4.8.1-1.x86_64                             1/1 \nwarning: /var/ossec/etc/ossec.conf saved as /var/ossec/etc/ossec.conf.rpmsave\nwarning: /var/ossec/etc/client.keys saved as /var/ossec/etc/client.keys.rpmsave\n\n  Running scriptlet: wazuh-agent-4.8.1-1.x86_64                             1/1 \n  Verifying        : wazuh-agent-4.8.1-1.x86_64                             1/1 \n\nRemoved:\n  wazuh-agent-4.8.1-1.x86_64                                                    \n\nComplete!","stdout_lines":["Command rhn_check exited with code zero. That usually means that registration is not needed. Use --force to override","Dependencies resolved.","================================================================================"," Package              Architecture    Version            Repository        Size","================================================================================","Removing:"," wazuh-agent          x86_64          4.8.1-1            @System           29 M","","Transaction Summary","================================================================================","Remove  1 Package","","Freed space: 29 M","Running transaction check","Transaction check succeeded.","Running transaction test","Transaction test succeeded.","Running transaction","  Preparing        :                                                        1/1 ","  Running scriptlet: wazuh-agent-4.8.1-1.x86_64                             1/1 ","  Erasing          : wazuh-agent-4.8.1-1.x86_64                             1/1 ","warning: /var/ossec/etc/ossec.conf saved as /var/ossec/etc/ossec.conf.rpmsave","warning: /var/ossec/etc/client.keys saved as /var/ossec/etc/client.keys.rpmsave","","  Running scriptlet: wazuh-agent-4.8.1-1.x86_64                             1/1 ","  Verifying        : wazuh-agent-4.8.1-1.x86_64                             1/1 ","","Removed:","  wazuh-agent-4.8.1-1.x86_64                                                    ","","Complete!"]},"created":"2026-01-28T12:22:42.710846Z","updated":"2026-01-28T12:22:42.710873Z","started":"2026-01-28T12:22:26.962032Z","ended":"2026-01-28T12:22:42.690352Z","duration":"00:00:15.728320","changed":false,"ignore_errors":false}