mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
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>
13 lines
780 B
YAML
13 lines
780 B
YAML
---
|
||
- 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') }}"
|