getstackhead / stackhead

Open Source Web Server management. Semi-stable but still WORK IN PROGRESS
https://docs.stackhead.io
GNU General Public License v2.0
1 stars 1 forks source link

Proper uninstall mechanism / resource state #5

Closed saitho closed 4 years ago

saitho commented 4 years ago

It should be possible to remove resources (files, users, containers, etc) provisioned and deployed via StackHead. Many roles used already provide a setting e.g. state: present/absent to indicate that resource should be created or removed from the server.

Maybe we can have a top level setting for that inside the project configuration.

saitho commented 4 years ago

Most of this is achieved by using Terraform for resource management.

14 also introduces a playbook for removing a project.

saitho commented 4 years ago

With #24 the logic for removing a project was merged with the project playbook. This should now be done properly. Container data will not be removed.