Browse Source

add dokuwiki mime.local.conf

Thomas Buck 2 years ago
parent
commit
f0a54e5bf9

+ 6
- 0
roles/dokuwiki/files/var_www_dokuwiki_conf_mime.local.conf View File

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 View File

68
     mode=0644
68
     mode=0644
69
     force=no
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
 - name: Add initial DokuWiki config file
80
 - name: Add initial DokuWiki config file
72
   template:
81
   template:
73
     src=var_www_dokuwiki_conf_local.j2
82
     src=var_www_dokuwiki_conf_local.j2

Loading…
Cancel
Save