mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-12-22 08:17:33 +01:00
Pass job target_format through formatter twice so that fallbacks are possible
This commit is contained in:
parent
395319b813
commit
83b2e59677
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
|||
{%- set fstring = {} -%}
|
||||
{%- set ignored = fstring.update(job.defaults|default({})) -%}
|
||||
{%- set ignored = fstring.update(hostvars[host]) -%}
|
||||
- {{ job.target_format | format(**fstring) }}
|
||||
- {{ job.target_format | format(**fstring) | format(**fstring) }}
|
||||
{% endif -%}
|
||||
{% endfor -%}
|
||||
|
||||
|
|
Loading…
Reference in a new issue