Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mkllnk opened this issue Jul 21, 2023 · 1 comment
Open

Comments

@mkllnk
Copy link

mkllnk commented Jul 21, 2023

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.

@bkabrda
Copy link
Contributor

bkabrda commented Feb 20, 2024

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

@alopezz alopezz changed the title Document how to uninstall the agent in general Implement removal of the Agent via state: present | absent in the role Jul 19, 2024
@alopezz alopezz mentioned this issue Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants