From 191149f391a40ffbc9a93c030f8e2fa3b72f3326 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 9 Mar 2020 18:34:09 +0000 Subject: [PATCH] fas_server / staging: adjust yubikey uri in staging fas Signed-off-by: Kevin Fenzi --- roles/fas_server/templates/fas.cfg.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/fas_server/templates/fas.cfg.j2 b/roles/fas_server/templates/fas.cfg.j2 index 23559c307e..673a4de593 100644 --- a/roles/fas_server/templates/fas.cfg.j2 +++ b/roles/fas_server/templates/fas.cfg.j2 @@ -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 %}