diff options
Diffstat (limited to 'roles/preprocessor')
-rw-r--r-- | roles/preprocessor/tasks/main.yml | 3 | ||||
-rw-r--r-- | roles/preprocessor/tasks/pdfimages.yml | 5 | ||||
-rw-r--r-- | roles/preprocessor/tasks/scantailor.yml | 41 |
3 files changed, 0 insertions, 49 deletions
diff --git a/roles/preprocessor/tasks/main.yml b/roles/preprocessor/tasks/main.yml deleted file mode 100644 index e5823e4..0000000 --- a/roles/preprocessor/tasks/main.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -- include: pdfimages.yml -- include: scantailor.yml diff --git a/roles/preprocessor/tasks/pdfimages.yml b/roles/preprocessor/tasks/pdfimages.yml deleted file mode 100644 index 81bd1eb..0000000 --- a/roles/preprocessor/tasks/pdfimages.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -# Installs pdfimages - -- name: Install poppler-utils for pdfimages - package: name=poppler-utils state=present diff --git a/roles/preprocessor/tasks/scantailor.yml b/roles/preprocessor/tasks/scantailor.yml deleted file mode 100644 index 8a8820e..0000000 --- a/roles/preprocessor/tasks/scantailor.yml +++ /dev/null @@ -1,41 +0,0 @@ ---- -# Installs scantailor - -- name: Install scantailor dependencies - package: name={{ item }} state=present - with_items: - - boost-devel - - cmake - - gcc-c++ - - git - - libjpeg-turbo-devel - - libpng-devel - - libtiff-devel - - libXrender-devel - - make - - qt-devel - - zlib-devel - -- name: Clone scantailor repository - git: - repo: https://github.com/scantailor/scantailor - dest: /home/ec2-user/src/scantailor - depth: 1 - become: no - register: scanclone - -- name: Configure and build scantailor - command: "{{ item }}" - args: - chdir: /home/ec2-user/src/scantailor - with_items: - - cmake . - - make - become: no - when: scanclone.changed - -- name: Install scantailor - command: make install - args: - chdir: /home/ec2-user/src/scantailor - when: scanclone.changed |