mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
varnish: try using the right syntatic sugar
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -21,11 +21,11 @@ backend mailman {
|
||||
.url = "/";
|
||||
.interval = 5s;
|
||||
.timeout = 5s;
|
||||
{{ if env != staging }}
|
||||
{% if env != staging %}
|
||||
.expected_response = 301;
|
||||
{{ else }}
|
||||
{% else %}
|
||||
.expected_response = 302;
|
||||
{{ endif }}
|
||||
{% endif %}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user