Skip to main content

Hey guys,

 

Been a hot minute since I’ve hit up this community. Hope everyone is well! :)

 

I understand there is a playbook for installation of the agent however I was wondering if over the years, someone has developed the reverse? Just looking to make our VM decommission process a little streamlined. Anyone know if there are any playbooks about that can cover removal of the device in the console and agent removal?

Typically we just nuke the VM so uninstall isn’t really a major requirement but would be good if we could remove the device from the console.

My Google-fu hasn’t had much success in landing any positive hits so figured I would try here.

 

Thanks in advance!

 

Westyy

Hi Westyy,

I can’t test this at the moment but in a nutshell you can issue a singular command (or a playbook) containing an offboarding ‘--deregister’ command. This could be a task in ansible (heres our deployment playbook as an example). Either way if you run ‘amagent --deregister’ it will offload it from the console. 

Deregistering it will not uninstall the agent but if you are destroying the VM it would be enough to just get it out of the console automatically first.

Regards,


Reply