Commit 4ef10276 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

ansible-inventories/bitegra#35 Fix regex by always quoting it

parent 19e5e5d5
......@@ -104,7 +104,7 @@ redirect: no
name: {{ item.name }}
url: {{ item.url }}
{% if item.regex is defined %}
regex: {{ item.regex|regex_escape() }}
regex: '{{ item.regex|regex_escape() }}'
{% endif %}
{% if item.redirect|default(false) %}
redirect: yes
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment