Execution
Date 28 Jan 2026 12:35:40 +0000
Duration 00:00:04.50
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.11
ara 1.7.4 / 1.7.4
Python 3.10.10
Summary
1 Hosts
1 Tasks
1 Results
1 Plays
1 Files
0 Records

Task result details


Field Value
changed
False
cmd
set -o pipefail
dnf -y remove wazuh-agent
systemctl disable wazuh-agent
systemctl daemon-reload
rm -rf /var/ossec
delta
0:00:03.519063
end
2026-01-28 12:35:44.910800
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:35:41.391737
stderr
This system is not registered with CloudLinux Network server.
CloudLinux Network based repositories will be disabled.
No packages marked for removal.
Failed to disable unit: Unit file wazuh-agent.service does not exist.
stderr_lines
[
    "This system is not registered with CloudLinux Network server.",
    "CloudLinux Network based repositories will be disabled.",
    "No packages marked for removal.",
    "Failed to disable unit: Unit file wazuh-agent.service does not exist."
]
stdout
Command rhn_check exited with code zero. That usually means that registration is not needed. Use --force to override
No match for argument: wazuh-agent
Dependencies resolved.
Nothing to do.
Complete!
stdout_lines
[
    "Command rhn_check exited with code zero. That usually means that registration is not needed. Use --force to override",
    "No match for argument: wazuh-agent",
    "Dependencies resolved.",
    "Nothing to do.",
    "Complete!"
]