35 lines
562 B
YAML
35 lines
562 B
YAML
|
|
---
|
||
|
|
# Decommissioning configuration
|
||
|
|
backup_data: true
|
||
|
|
export_config: true
|
||
|
|
graceful_shutdown: true
|
||
|
|
cleanup_inventory: true
|
||
|
|
auto_shutdown: false
|
||
|
|
shutdown_delay: 10
|
||
|
|
|
||
|
|
# Services to stop gracefully
|
||
|
|
application_services:
|
||
|
|
- nginx
|
||
|
|
- postgresql
|
||
|
|
- haproxy
|
||
|
|
|
||
|
|
# Packages to remove
|
||
|
|
application_packages:
|
||
|
|
- nginx
|
||
|
|
- postgresql
|
||
|
|
- haproxy
|
||
|
|
- prometheus
|
||
|
|
|
||
|
|
# Directories to archive
|
||
|
|
config_paths:
|
||
|
|
- /etc/
|
||
|
|
- /opt/application/
|
||
|
|
|
||
|
|
data_paths:
|
||
|
|
- /var/www/html
|
||
|
|
- /var/lib/postgresql
|
||
|
|
- /var/lib/prometheus
|
||
|
|
|
||
|
|
# Notification settings
|
||
|
|
decommission_notification_email: null
|