fix: fix if syntax
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2024-01-24 10:18:46 +01:00
parent 83cadc0e32
commit bb2bfdad2a
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -15,7 +15,7 @@ PROMETHEUS_PVE_SD_PVE_USER={{ pve_sd_pve_user }}
{% if pve_sd_pve_token_value is defined %} {% if pve_sd_pve_token_value is defined %}
PROMETHEUS_PVE_SD_PVE_TOKEN_NAME={{ pve_sd_pve_token_name }} PROMETHEUS_PVE_SD_PVE_TOKEN_NAME={{ pve_sd_pve_token_name }}
PROMETHEUS_PVE_SD_PVE_TOKEN_VALUE={{ pve_sd_pve_token_value }} PROMETHEUS_PVE_SD_PVE_TOKEN_VALUE={{ pve_sd_pve_token_value }}
{% else if pve_sd_pve_password is defined %} {% elif pve_sd_pve_password is defined %}
PROMETHEUS_PVE_SD_PVE_PASSWORD={{ pve_sd_pve_password }} PROMETHEUS_PVE_SD_PVE_PASSWORD={{ pve_sd_pve_password }}
{% end %} {% end %}
PROMETHEUS_PVE_SD_PVE_AUTH_TIMEOUT=5 PROMETHEUS_PVE_SD_PVE_AUTH_TIMEOUT=5