feat: state=absent
yajo opened this issue · 1 comments
yajo commented
This role doesn't provide a way to undo it!
geerlingguy commented
@yajo - For all my roles, I tend to set them up on servers where if I want something gone I'll either:
- (Preferred) Delete the server or container, and then rebuild a new one without the role.
- Write a few automation tasks to uninstall the tool and clean up any configuration.
I don't write uninstall automation because IMO that's a fools errand to maintain, and it's much better practice to habitually be able to destroy any server and rebuild it—or failing that, make sure you only test out a role on a server that is non-important and can quickly be rebuilt.