From 1a6d3cda451b97acf59f79de6b11fbdd22b6ef1f Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 22 Oct 2019 11:43:09 +0100 Subject: Remove unused roles, reorganise to better reflect the current state of affairs --- roles/preprocessor/tasks/main.yml | 3 --- roles/preprocessor/tasks/pdfimages.yml | 5 ---- roles/preprocessor/tasks/scantailor.yml | 41 --------------------------------- 3 files changed, 49 deletions(-) delete mode 100644 roles/preprocessor/tasks/main.yml delete mode 100644 roles/preprocessor/tasks/pdfimages.yml delete mode 100644 roles/preprocessor/tasks/scantailor.yml (limited to 'roles/preprocessor/tasks') 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 -- cgit v1.2.1-24-ge1ad