diff --git a/templates/hardware-exporter-config.yaml.j2 b/templates/hardware-exporter-config.yaml.j2 index 2a4cc48b..d448f5ed 100644 --- a/templates/hardware-exporter-config.yaml.j2 +++ b/templates/hardware-exporter-config.yaml.j2 @@ -8,7 +8,7 @@ enable_collectors: {% endif %} {% if REDFISH_ENABLE %} -redfish_host: {{ REDFISH_HOST }} -redfish_username: {{ REDFISH_USERNAME }} -redfish_password: {{ REDFISH_PASSWORD }} +redfish_host: "{{ REDFISH_HOST }}" +redfish_username: "{{ REDFISH_USERNAME }}" +redfish_password: "{{ REDFISH_PASSWORD }}" {% endif %}