Takahe Remove Role¶
Safely removes the Takahe deployment, systemd units, and related configuration with confirmation gates.
Usage¶
- hosts: takahe
become: true
roles:
- role: local.ops_library.takahe_remove
vars:
takahe_confirm_removal: true
takahe_remove_site: true
takahe_remove_media: false
Key Variables¶
Variable |
Default |
Description |
|---|---|---|
|
|
Must be set to |
|
|
Remove the application directory. |
|
|
Remove local media directory. |
|
|
Remove nginx cache directory. |
|
|
Remove the service user and group. |
See defaults/main.yml and roles/takahe_shared/defaults/main.yml for the full reference.
Dependencies¶
local.ops_library.takahe_shared
Testing¶
cd /path/to/ops-library
just test-role takahe_remove
License¶
MIT