Files
computer-playbook/roles/web-app-matomo/tasks/utils/resolve/config_host.yml
kevinveenbirkenbachandClaude Opus 4.8 58a5f7e8ed refactor(web-app-matomo): move resolve helpers into utils/resolve/ subfolder
A shared 'resolve_' prefix on two sibling task files trips the
prefix-grouped-files lint (a delimiter-bounded prefix is a folder in
disguise). Move both into utils/resolve/ and drop the prefix:
resolve_config_host.yml -> resolve/config_host.yml,
resolve_host_cid.yml -> resolve/host_cid.yml. Update the include paths in
02_manager_ops, 03_install_path, 05_patch_database, 06_patch_trusted_hosts.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-24 20:05:59 +02:00

12 lines
465 B
YAML

---
- name: "🧭 Resolve matomo_data mountpoint on the hosting node"
ansible.builtin.command: >-
container volume inspect --format '{{ "{{" }}.Mountpoint{{ "}}" }}' matomo_data
register: matomo_data_mountpoint
changed_when: false
delegate_to: "{{ MATOMO_HOST_NODE }}"
- name: "🧭 Set host path to config.ini.php"
ansible.builtin.set_fact:
MATOMO_CONFIG_HOST: "{{ [matomo_data_mountpoint.stdout | trim, 'config/config.ini.php'] | path_join }}"