---
- name: Remove Wazuh repository (and clean up left-over metadata)
  apt_repository:
    repo: "{{ wazuh_agent_config.repo.apt }}"
    state: absent
  changed_when: false
