fas_server / staging: adjust yubikey uri in staging fas

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-03-09 18:34:09 +00:00 committed by Pierre-Yves Chibon
parent bd59cac72d
commit 191149f391

View file

@ -222,7 +222,11 @@ mail.manager = 'demand'
# Enable yubikeys
{% if inventory_hostname.startswith('os-') %}
{% if env == "staging" %}
yubi_server_prefix='http://yubikey.fas.svc.cluster.local:8080/yk-val/verify?id='
{% else %}
yubi_server_prefix='http://yubikey:8080/yk-val/verify?id='
{% endif %}
{% else %}
yubi_server_prefix='http://localhost/yk-val/verify?id='
{% endif %}