rename .yaml files to .yml for consistency
This commit is contained in:
@@ -369,44 +369,44 @@ app_extra_templates:
|
||||
The role is organized into logical task files for selective execution:
|
||||
|
||||
```
|
||||
├── setup.yaml # Validation, directories, and templates
|
||||
├── restore.yaml # Backup restoration logic
|
||||
├── deploy.yaml # Docker Compose deployment and startup
|
||||
├── health_check.yaml # Health monitoring and verification
|
||||
├── backup.yaml # Backup creation and management
|
||||
├── update.yaml # Container update and image pulling
|
||||
└── manage_compose.yaml # Docker Compose lifecycle management
|
||||
├── setup.yml # Validation, directories, and templates
|
||||
├── restore.yml # Backup restoration logic
|
||||
├── deploy.yml # Docker Compose deployment and startup
|
||||
├── health_check.yml # Health monitoring and verification
|
||||
├── backup.yml # Backup creation and management
|
||||
├── update.yml # Container update and image pulling
|
||||
└── manage_compose.yml # Docker Compose lifecycle management
|
||||
```
|
||||
|
||||
### Task Execution Flow
|
||||
|
||||
1. **Setup** (`setup.yaml`) - [setup, deploy]
|
||||
1. **Setup** (`setup.yml`) - [setup, deploy]
|
||||
- Docker/Compose validation
|
||||
- Variable validation and security checks
|
||||
- Directory creation
|
||||
- Additional template deployment
|
||||
|
||||
2. **Restore** (`restore.yaml`) - [restore, never]
|
||||
2. **Restore** (`restore.yml`) - [restore, never]
|
||||
- Backup file selection and validation
|
||||
- Service stopping
|
||||
- Archive extraction
|
||||
- Service restart
|
||||
|
||||
3. **Deploy** (`deploy.yaml`) - [deploy]
|
||||
3. **Deploy** (`deploy.yml`) - [deploy]
|
||||
- Docker Compose file creation
|
||||
- Container startup and management
|
||||
|
||||
4. **Health Check** (`health_check.yaml`) - [deploy, healthcheck]
|
||||
4. **Health Check** (`health_check.yml`) - [deploy, healthcheck]
|
||||
- Service health verification
|
||||
- Endpoint monitoring
|
||||
|
||||
5. **Backup** (`backup.yaml`) - [backup, never]
|
||||
5. **Backup** (`backup.yml`) - [backup, never]
|
||||
- Service stopping (optional)
|
||||
- Archive creation
|
||||
- Backup copying and cleanup
|
||||
- Service restart
|
||||
|
||||
6. **Update** (`update.yaml`) - [update, never]
|
||||
6. **Update** (`update.yml`) - [update, never]
|
||||
- Service stopping
|
||||
- Image pulling
|
||||
- Container recreation
|
||||
|
||||
Reference in New Issue
Block a user