mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-23 02:01:10 +01:00
Fix jinja syntax error
This commit is contained in:
parent
a8a3042699
commit
7b34b8fad7
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: include os specific vars
|
- 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:
|
vars:
|
||||||
files:
|
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"
|
- "{% 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"
|
||||||
|
|
Loading…
Reference in a new issue