Ver Fonte

nginx configs are now linked to sites-enabled

Till Klocke há 9 anos atrás
pai
commit
d61fb8a73c
1 ficheiros alterados com 8 adições e 0 exclusões
  1. 8 0
      roles/internal/ffdo.gitit/tasks/main.yml

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

@@ -72,6 +72,14 @@
   notify:
   notify:
   - Restart nginx
   - 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
 - name: Install systemd unit
   register: gitit_systemd_unit
   register: gitit_systemd_unit
   template:
   template: