newrelic / ansible-install

Building installation support for our customers are using ansible to manage their infrastructure and services at scale
Apache License 2.0
8 stars 6 forks source link

Provide uninstall parameter and logic in the role #60

Open nscriptdotgo opened 10 months ago

nscriptdotgo commented 10 months ago

Summary

I would like to see a way for this role to be modified so that a user can uninstall an agent. The official documentation references a parameter that doesn't exist in this role.

Desired Behavior

We should be able to set a variable, like agent_state to absent to remove the installation.

Additional context

This features matters to me because my team has a case where we need to reduce data getting sent to New Relic and we have over 100 servers that we have to login manually and uninstall.

burner1024 commented 5 months ago

As well as change parameters... If I disable logging in vars, it should be disabled on the servers.