From 0d065c21d5354975872909b2138ed35e4bc1a2d0 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 8 Dec 2016 11:42:35 +0200
Subject: [PATCH] - Removed cgit virtualhost (wasn't thought thtough).

---
 tasks/cgit.yml         | 10 ----------
 templates/cgit.conf.j2 |  5 -----
 2 files changed, 15 deletions(-)
 delete mode 100644 templates/cgit.conf.j2

diff --git a/tasks/cgit.yml b/tasks/cgit.yml
index b80bae9..5e86796 100644
--- a/tasks/cgit.yml
+++ b/tasks/cgit.yml
@@ -23,16 +23,6 @@
   notify:
   - Restart Apache
 
-- name: Add cgit Apache site
-  template:
-    src: cgit.conf.j2
-    dest: /etc/apache2/sites-enabled/cgit.conf
-    owner: root
-    group: root
-    mode: 0o0644
-  notify:
-    - Reload Apache
-
 - name: Add symlink for rst2html (workaround, bug fixed in Stretch)
   file:
     src: /usr/share/docutils/scripts/python2/rst2html
diff --git a/templates/cgit.conf.j2 b/templates/cgit.conf.j2
deleted file mode 100644
index 426d92a..0000000
--- a/templates/cgit.conf.j2
+++ /dev/null
@@ -1,5 +0,0 @@
-<VirtualHost _default_:443>
-    Alias                   /cgit/css       /usr/share/cgit
-    ScriptAlias             /               /usr/lib/cgit/cgit.cgi/
-    SSLEngine               on
-</virtualHost>
-- 
GitLab