diff options
author | Nick White <git@njw.name> | 2019-10-22 11:43:09 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-10-22 11:43:09 +0100 |
commit | 1a6d3cda451b97acf59f79de6b11fbdd22b6ef1f (patch) | |
tree | 483137867caeb9a04a3460bf042586f42c1239ad /roles/preprocessor/tasks | |
parent | 1b063fad174ec5f9d5d80683d2500802ea6afb7d (diff) |
Remove unused roles, reorganise to better reflect the current state of affairs
Diffstat (limited to 'roles/preprocessor/tasks')
-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 |