rename .yaml files to .yml for consistency

This commit is contained in:
2026-07-16 16:57:45 -04:00
parent 757ba52377
commit af2fe22bfa
11 changed files with 29 additions and 29 deletions
+13 -13
View File
@@ -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
+1 -1
View File
@@ -34,6 +34,6 @@
when: _compose_type == 'content'
register: compose_file
- ansible.builtin.include_tasks: manage_compose.yaml
- ansible.builtin.include_tasks: manage_compose.yml
when: app_compose_start | default(true)
tags: [deploy]
-14
View File
@@ -1,14 +0,0 @@
---
- ansible.builtin.include_tasks: setup.yaml
tags: [setup, deploy]
- ansible.builtin.include_tasks: restore.yaml
tags: [restore, never]
- ansible.builtin.include_tasks: deploy.yaml
tags: [deploy]
- ansible.builtin.include_tasks: health_check.yaml
tags: [deploy, healthcheck]
- ansible.builtin.include_tasks: backup.yaml
tags: [backup, never]
- ansible.builtin.include_tasks: update.yaml
tags: [update, never]
+14
View File
@@ -0,0 +1,14 @@
---
- ansible.builtin.include_tasks: setup.yml
tags: [setup, deploy]
- ansible.builtin.include_tasks: restore.yml
tags: [restore, never]
- ansible.builtin.include_tasks: deploy.yml
tags: [deploy]
- ansible.builtin.include_tasks: health_check.yml
tags: [deploy, healthcheck]
- ansible.builtin.include_tasks: backup.yml
tags: [backup, never]
- ansible.builtin.include_tasks: update.yml
tags: [update, never]
+1 -1
View File
@@ -19,7 +19,7 @@
register: update_restart
- name: Verify application health after update
ansible.builtin.include_tasks: health_check.yaml
ansible.builtin.include_tasks: health_check.yml
when: app_health_check | default(true)
rescue: