summaryrefslogtreecommitdiffstats
path: root/roles/distgit/tasks
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2016-01-05 21:25:46 +0000
committerRalph Bean <rbean@redhat.com>2016-01-05 21:31:14 +0000
commitcc0089049f5dae989621126d79afbbabe6375403 (patch)
tree8dc664c3288b9ea7976a479694fc6e715fdb370d /roles/distgit/tasks
parentff6c36687a09b10022a7ed76d9aa9105c4493119 (diff)
downloadansible-cc0089049f5dae989621126d79afbbabe6375403.tar.gz
ansible-cc0089049f5dae989621126d79afbbabe6375403.tar.xz
ansible-cc0089049f5dae989621126d79afbbabe6375403.zip
Redirect old cgit repo urls to the new namespace.
Diffstat (limited to 'roles/distgit/tasks')
-rw-r--r--roles/distgit/tasks/main.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml
index cc8c8106c..622ebc033 100644
--- a/roles/distgit/tasks/main.yml
+++ b/roles/distgit/tasks/main.yml
@@ -233,12 +233,18 @@
notify:
- reload httpd
-- name: install the CGit-related httpd config
+- name: install the CGit-related httpd redirect config
copy: src=redirect.conf dest=/etc/httpd/conf.d/pkgs.fedoraproject.org/redirect.conf
tags: distgit
notify:
- reload httpd
+- name: install the CGit-related httpd main config
+ copy: src=cgit.conf dest=/etc/httpd/conf.d/cgit.conf
+ tags: distgit
+ notify:
+ - reload httpd
+
# -- Lookaside Cache -------------------------------------
# This is the annex to Dist Git, where we host source tarballs.