{%- from "glance/map.jinja" import server with context %} | |
{%- if server.get('enabled', False) %} | |
agent: | |
input: | |
http_response: | |
glance-api: | |
address: "http://{{ server.bind.address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.bind.port }}/" | |
expected_code: 300 | |
glance-registry: | |
address: "http://{{ server.bind.address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.registry.port }}/" | |
expected_code: 300 | |
{%- endif %} |