summaryrefslogtreecommitdiff
path: root/roles/tesseractor/tasks
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-01-06 01:03:50 +0000
committerNick White <git@njw.name>2019-01-06 01:03:50 +0000
commit78284f6f93de2507564bce7fc714dbb872f356ce (patch)
tree82e45ffa2a46ee02d53268f7e80f63227da9fb7f /roles/tesseractor/tasks
parentd0c5f2c02ec2fd0626c0bb6f0cc3f986178b1b7d (diff)
Code cleanup of tesseract installations
Diffstat (limited to 'roles/tesseractor/tasks')
-rw-r--r--roles/tesseractor/tasks/tesseract.yml12
1 files changed, 4 insertions, 8 deletions
diff --git a/roles/tesseractor/tasks/tesseract.yml b/roles/tesseractor/tasks/tesseract.yml
index afb408a..43e08ab 100644
--- a/roles/tesseractor/tasks/tesseract.yml
+++ b/roles/tesseractor/tasks/tesseract.yml
@@ -5,17 +5,13 @@
package: name={{ item }} state=present
with_items:
- gcc-c++
- - make
- - libpng12-devel
+ - git
- libjpeg-turbo-devel
+ - libpng12-devel
- libtiff-devel
+ - make
- zlib-devel
-- name: Install extra tesseract development dependencies
- package: name={{ item }} state=present
- with_items:
- - git
-
- name: Clone leptonica repository
git:
repo: https://github.com/nickjwhite/leptonica
@@ -30,8 +26,8 @@
args:
chdir: /home/ec2-user/src/leptonica/src
with_items:
- - SHARED=yes shared
- nodebug
+ - SHARED=yes shared
become: no
when: leptclone.changed