ansible-datadog
ansible-datadog copied to clipboard
Implement removal of the Agent via `state: present | absent` in the role
The README documents the uninstall process for Windows but not for any other platforms. I'm working on Debian/Ubuntu and I'm imagining the following tasks:
- Remove apt repository.
- Remove agent and its systemd service file.
- Remove user.
- Custom: Remove integrations.
It would be super handy if the role had state: present | absent on a global level to do these tasks automatically.
:wave: Hi, for instructions on manual uninstallation, you can consult the official docs.
I absolutely agree that it would be great to have state functionality on the role, however that's a larger piece of work and I can't promise a date when this would be implemented. I will leave this issue open and we'll provide update when we get to this.