summaryrefslogtreecommitdiff
path: root/roles/scantailor
diff options
context:
space:
mode:
Diffstat (limited to 'roles/scantailor')
-rw-r--r--roles/scantailor/tasks/main.yml2
-rw-r--r--roles/scantailor/tasks/scantailor.yml41
2 files changed, 0 insertions, 43 deletions
diff --git a/roles/scantailor/tasks/main.yml b/roles/scantailor/tasks/main.yml
deleted file mode 100644
index 788df22..0000000
--- a/roles/scantailor/tasks/main.yml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-- include: scantailor.yml
diff --git a/roles/scantailor/tasks/scantailor.yml b/roles/scantailor/tasks/scantailor.yml
deleted file mode 100644
index 8a8820e..0000000
--- a/roles/scantailor/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