Files
computer-playbook/roles/svc-db-mariadb/vars/README.md
kevinveenbirkenbachandClaude Opus 5.5 dd955a71a6 style(markdown): pin list markers to dash and convert every list
The 16.0.0 entry pkgmgr wrote on top of CHANGELOG.md uses "-" bullets
while every older entry uses "*". MD004's default "consistent" style takes
the marker of the first list in a file, so lint-markdown reported 400
MD004 findings in CHANGELOG.md and the pre-push gate refused the release
push.

MD004 is now pinned to "dash", the marker pkgmgr and the changelog skill
write, and make autoformat (markdownlint-cli2 --fix) converted the lists
of the 72 files that still used "*". Only list markers changed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-18 23:04:02 +02:00

36 lines
1.1 KiB
Markdown

# vars/
This directory contains variable definition files for the `svc-db-mariadb` Ansible role. It centralizes all configurable values related to MariaDB deployment and can be adjusted without modifying task logic.
---
## files and their purpose
### 1. `meta/services.yml`
The role's service config (file root IS the services map keyed by `<entity_name>`).
For `svc-db-mariadb` this carries the entity-keyed image, version, and hostname:
- **`version`** (string):
- Default: `"latest"`
- The MariaDB image tag to pull (e.g. `10.6`, `10.11`, or `latest`).
- **`hostname`** (string):
- Default: `"central-mariadb"`
- The container name and DNS alias within the `central_mariadb` network. Used by other services (like Moodle) to connect.
> **Tip:** Pin to a specific minor version (e.g., `10.6.12`) in production to avoid breaking changes on rebuilds.
---
### 2. `main.yml`
Minimal file defining the application identifier for the role.
- **`application_id`** (string):
- Default: `"mariadb"`
- Logical name used in templates, notifications, or paths when multiple roles/services may coexist.