Przeglądaj źródła

add dokuwiki mime.local.conf

Thomas Buck 2 lat temu
rodzic
commit
f0a54e5bf9

+ 6
- 0
roles/dokuwiki/files/var_www_dokuwiki_conf_mime.local.conf Wyświetl plik

@@ -0,0 +1,6 @@
1
+# Allowed uploadable file extensions and mimetypes are defined here.
2
+# To extend this file it is recommended to create a mime.local.conf
3
+# file. Mimetypes that should be downloadable and not be opened in the
4
+# should be prefixed with a !
5
+
6
+s2p     !text/plain

+ 9
- 0
roles/dokuwiki/tasks/dokuwiki.yml Wyświetl plik

@@ -68,6 +68,15 @@
68 68
     mode=0644
69 69
     force=no
70 70
 
71
+- name: Add initial DokuWiki MIME config
72
+  copy:
73
+    src=var_www_dokuwiki_conf_mime.local.conf
74
+    dest=/var/www/dokuwiki/conf/mime.local.conf
75
+    owner=www-data
76
+    group=www-data
77
+    mode=0644
78
+    force=no
79
+
71 80
 - name: Add initial DokuWiki config file
72 81
   template:
73 82
     src=var_www_dokuwiki_conf_local.j2

Ładowanie…
Anuluj
Zapisz