diff --git a/traefik/files/traefik.toml b/traefik/files/traefik.toml index fe070fc..a2a8358 100644 --- a/traefik/files/traefik.toml +++ b/traefik/files/traefik.toml @@ -1,6 +1,12 @@ {% for section in config -%} [{{ section }}] {% for key, val in config[section].iteritems() -%} -{{ key }} = {{ val }} +{% if val is True -%} +{{ key }} = true +{% elif val is False -%} +{{ key }} = false +{% else -%} +{{ key }} = "{{ val }}" +{% endif -%} {% endfor -%} {% endfor -%}