mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-29 14:30:52 +00:00
The removal in 918c49add had no practical effect on matomo's resolution
path (role-vars `domain: "{{ lookup('domain', application_id) }}"` was
already honored via include_tasks vars `application_id: 'web-app-matomo'`),
but other roles rely on these two vars being set at include_role level.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
20 lines
531 B
YAML
20 lines
531 B
YAML
- name: "Harden load_app_id"
|
|
ansible.builtin.set_fact:
|
|
_load_app_id: "{{ load_app_id }}"
|
|
changed_when: false
|
|
|
|
- name: "DEBUG | Loading parameters"
|
|
ansible.builtin.debug:
|
|
msg:
|
|
application_id: "{{ application_id | default('undefined') }}"
|
|
_load_app_id: "{{ load_app_id }}"
|
|
when: MODE_DEBUG | bool
|
|
|
|
- name: "Loading {{ _load_app_id }}'"
|
|
include_role:
|
|
name: "{{ _load_app_id }}"
|
|
public: false
|
|
vars:
|
|
application_id: "{{ _load_app_id }}"
|
|
domain: "{{ lookup('domain', _load_app_id) }}"
|