ansible-datadog icon indicating copy to clipboard operation
ansible-datadog copied to clipboard

Implement removal of the Agent via `state: present | absent` in the role

Open mkllnk opened this issue 2 years ago • 1 comments

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.

mkllnk avatar Jul 21 '23 00:07 mkllnk

: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.

bkabrda avatar Feb 20 '24 12:02 bkabrda