1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-11-22 17:51:01 +01:00

Fix jinja syntax error

This commit is contained in:
s3lph 2021-11-03 10:58:24 +01:00
parent a8a3042699
commit 7b34b8fad7

View file

@ -1,7 +1,7 @@
---
- name: include os specific vars
include_vars: "{{ lookup('ansible.builtin.first_found', paths=['vars'], files=files)"
include_vars: "{{ lookup('ansible.builtin.first_found', paths=['vars'], files=files) }}"
vars:
files:
- "{% if 'id' in ansible_lsb %}{{ ansible_lsb.id }}{% else %}{{ ansible_distribution }}{% endif %}_{% if 'major_release' in ansible_lsb %}{{ ansible_lsb.major_release }}{% else %}{{ ansible_distribution_version }}{% endif %}.yml"