summaryrefslogtreecommitdiff
path: root/roles/preprocessor/tasks/scantailor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/preprocessor/tasks/scantailor.yml')
-rw-r--r--roles/preprocessor/tasks/scantailor.yml41
1 files changed, 0 insertions, 41 deletions
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