What's New
🎯 Full Top-Level Compose Key Support (#52)
The role now properly handles all top-level Docker Compose keys, not just services. This includes:
configs- Define and reference config objectsnetworks- Custom network definitionsvolumes- Named volume definitionssecrets- Secret management
Each key is merged across all your compose files and output correctly in the generated compose.yaml.
A new custom Ansible filter (indent_yaml_lists) ensures proper YAML formatting with correctly indented list items for better readability.
📁 Config File Deployment (#50)
Deploy configuration files alongside your services using config-* directories:
services/
└── hostname/
└── monitoring/
├── compose.yaml
└── config-glance/
├── .dest # Contains destination path
└── glance.yml # Config file to deploy
Optional ZFS Support: Enable docker_compose_generator_zfs_enabled: true to automatically create ZFS datasets for config directories.
🔧 Other Improvements
- Configurable services directory (#43) - Override with
services_directoryvariable - Flexible file matching (#39) - Supports both
.ymland.yamlextensions - Filtering support - Exclude config directories from compose file discovery automatically
Breaking Changes
None - fully backwards compatible with v2.0.