add dependecies

This commit is contained in:
hiperman
2026-01-30 12:59:07 -05:00
parent 26c32763cc
commit 4211fad10c
2 changed files with 6 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ Configure backup retention and options in your role's meta vars:
```yaml
# In roles/my-app/meta/main.yml
dependencies:
- role: docker_compose_app
- role: patrickj.docker_apps.docker_compose_app
vars:
app_backup_subdirectories:
- "{{ my_app_data_path }}"
@@ -167,7 +167,7 @@ Configure restore options in your role's meta vars:
```yaml
# In roles/my-app/meta/main.yml
dependencies:
- role: docker_compose_app
- role: patrickj.docker_apps.docker_compose_app
vars:
app_restore_source: controller # or 'remote'
app_restore_max_age_days: 30 # Only restore backups newer than 30 days
@@ -276,7 +276,7 @@ The file will be copied as-is to the application directory without Jinja2 proces
#### Use inline content:
```yaml
- role: docker_compose_app
- role: patrickj.docker_apps.docker_compose_app
vars:
app_name: simple-app
app_role_name: simple-app

View File

@@ -4,3 +4,6 @@ galaxy_info:
description: Role for deploying Docker Compose apps
license: MIT
min_ansible_version: "2.14"
collections:
- community.docker