summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2013-06-12 16:14:05 +0000
committerKevin Fenzi <kevin@scrye.com>2013-06-12 16:14:05 +0000
commite16eb2007c0a5fa8bb23e91964cce3832d6f2889 (patch)
tree2b0a98c6dcd3a2b9577070f0dd1c0c4724b27868
parentb5da07e38e5236645717d7d439a2263cda17621d (diff)
downloadansible-e16eb2007c0a5fa8bb23e91964cce3832d6f2889.tar.gz
ansible-e16eb2007c0a5fa8bb23e91964cce3832d6f2889.tar.xz
ansible-e16eb2007c0a5fa8bb23e91964cce3832d6f2889.zip
Try this to fix 2fa on staging hosts.
-rw-r--r--files/2fa/pam_url.conf.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/files/2fa/pam_url.conf.j2 b/files/2fa/pam_url.conf.j2
index ddd1996ba..624d55cb3 100644
--- a/files/2fa/pam_url.conf.j2
+++ b/files/2fa/pam_url.conf.j2
@@ -4,6 +4,8 @@ pam_url:
{
{% if datacenter == 'phx2' %}
url = "https://fas-all.phx2.fedoraproject.org:8443/"; # URI to fetch
+ {% elif staging is defined %}
+ url = "https://fas-all.stg.phx2.fedoraproject.org:8443/"; # URI to fetch
{% else %}
url = "https://fas-all.vpn.fedoraproject.org:8443/"; # URI to fetch
{% endif %}