mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
Nested-attr access on the lazy vars-lookup dict (_cert.files.cert, _tls.domains.primary) raises under Ansible 2.19+. Use the want-path lookup form so the vars hold resolved scalars. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
7 lines
322 B
YAML
7 lines
322 B
YAML
---
|
|
_tls_enabled: "{{ lookup('tls', application_id, 'enabled') }}"
|
|
_tls_mode: "{{ lookup('tls', application_id, 'mode') }}"
|
|
_tls_domain: "{{ lookup('tls', application_id, 'domains.primary') }}"
|
|
_cert_file: "{{ lookup('cert', application_id, 'files.cert') }}"
|
|
_cert_key: "{{ lookup('cert', application_id, 'files.key') }}"
|