From 00a178a3fe5a46dab3793fc8c47d42e07218a3b0 Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean@redhat.com>
Date: Mon, 17 Aug 2015 17:15:44 +0000
Subject: [PATCH] Revert "We don't want to mess with redirects for
 /api_version."

This reverts commit b7e2f9fce1cb2406889a58f1ed5368c6dd791cce.
---
 playbooks/include/proxies-redirects.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/playbooks/include/proxies-redirects.yml b/playbooks/include/proxies-redirects.yml
index 1bb048dc4a..c95b6644b8 100644
--- a/playbooks/include/proxies-redirects.yml
+++ b/playbooks/include/proxies-redirects.yml
@@ -91,6 +91,13 @@
     target: https://bodhi.stg.fedoraproject.org/updates/new
     when: env == 'staging'
 
+  - role: httpd/redirectmatch
+    name: 05-bodhi2-api-version
+    website: admin.fedoraproject.org
+    regex: /updates/api_version$
+    target: https://bodhi.stg.fedoraproject.org/api_version
+    when: env == 'staging'
+
   - role: httpd/redirectmatch
     name: 90-bodhi2-cutover-updates
     website: admin.fedoraproject.org