Files
computer-playbook/roles/sys-svc-rdbms/tasks/utils/seed_backup.yml
kevinveenbirkenbachandClaude Opus 5 7ad0dd2a8c style: clear the two lint findings in the recovery work
The task name broke the 80-char convention; naming the consumer alone says as much, since the enclosing role already names the application.

The manifest read opts out of the shared read cache rather than joining it. utils.cache.files pulls in PROJECT_ROOT and the gitignore reader, which would break the import-free rule utils/recovery/manifest.py exists under, and a process-wide cache is wrong for this file in any case: a backup run writes a new generation that the same process then reads back, so the cached copy would be the stale one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-18 03:22:05 +02:00

13 lines
780 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
- name: "➕ Seed backup entry for '{{ _database_consumer_id }}'"
include_tasks: "{{ lookup('path_absolute', 'roles/svc-bkp-volume-2-local/tasks/03_seed-database-to-backup.yml') }}"
vars:
database_consumer_id: "{{ _database_consumer_id }}"
database_type: "{{ _database_type }}"
database_instance: "{{ lookup('database', _database_consumer_id, 'instance') }}"
database_host: "{{ lookup('database', _database_consumer_id, 'host') }}"
database_port: "{{ lookup('database', _database_consumer_id, 'port') }}"
database_name: "{{ lookup('database', _database_consumer_id, 'name') }}"
database_username: "{{ lookup('database', _database_consumer_id, 'username') }}"
database_password: "{{ lookup('database', _database_consumer_id, 'password') }}"