Add httpd/mime-type role.

This commit is contained in:
Ralph Bean 2014-12-12 19:25:49 +00:00
parent 7bdb8471f5
commit c45adc7d78
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,8 @@
- template: >
src=mime-types.conf dest=/etc/httpd/conf.d/{{website}}/mime-types.conf
owner=root group=root mode=0644
notify:
- restart httpd
tags:
- httpd
- httpd/mime-type

View file

@ -0,0 +1 @@
AddType {{mimetype}} {% for ext in extensions %} {{ext}} {% endfor %}