1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

make sure ImageMagick is installed and configured for PDFs

This commit is contained in:
Tim Moody 2019-03-13 13:30:44 -04:00
parent 8a00a88f02
commit fb90912813

View file

@ -1,3 +1,18 @@
- name: Install ImageMagick (debuntu)
package:
name:
- imagemagick
state: present
when: is_debuntu
- name: Allow ImageMagick to read PDFs
lineinfile:
path: /etc/ImageMagick-6/policy.xml
regexp: '^<policy domain="coder" rights="none" pattern="PDF" />'
line: '<policy domain="coder" rights="read" pattern="PDF" />'
state: present
when: is_debuntu
- name: Create 3 Calibre-Web folders to store data and configuration files
file:
path: "{{ item }}"