Browse Source

nginx configs are now linked to sites-enabled

Till Klocke 9 years ago
parent
commit
d61fb8a73c
1 changed files with 8 additions and 0 deletions
  1. 8 0
      roles/internal/ffdo.gitit/tasks/main.yml

+ 8 - 0
roles/internal/ffdo.gitit/tasks/main.yml

@@ -72,6 +72,14 @@
   notify:
   - Restart nginx
 
+- name: Activate nginx configurations
+  file:
+    src: /etc/nginx/sites-available/wiki
+    dest: /etc/nginx/sites-enabled/wiki
+    state: link
+  notify:
+  - Restart nginx
+
 - name: Install systemd unit
   register: gitit_systemd_unit
   template: