summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/tesseractor/tasks/leptonica.yml12
-rw-r--r--roles/tesseractor/tasks/tesseract.yml12
2 files changed, 6 insertions, 18 deletions
diff --git a/roles/tesseractor/tasks/leptonica.yml b/roles/tesseractor/tasks/leptonica.yml
index 1c0d010..2aad7a7 100644
--- a/roles/tesseractor/tasks/leptonica.yml
+++ b/roles/tesseractor/tasks/leptonica.yml
@@ -2,15 +2,9 @@
# Installs leptonica
- name: Install leptonica dependencies
- package: name={{ item }} state=present
- with_items:
- - gcc-c++
- - git
- - libjpeg-turbo-devel
- - libpng12-devel
- - libtiff-devel
- - make
- - zlib-devel
+ apt:
+ name: ['g++', 'git', 'libjpeg62-turbo-dev', 'libpng-dev', 'libtiff-dev', 'make', 'zlib1g-dev']
+ state: present
- name: Clone leptonica repository
git:
diff --git a/roles/tesseractor/tasks/tesseract.yml b/roles/tesseractor/tasks/tesseract.yml
index 22816ba..802e30a 100644
--- a/roles/tesseractor/tasks/tesseract.yml
+++ b/roles/tesseractor/tasks/tesseract.yml
@@ -2,15 +2,9 @@
# Installs tesseract
- name: Install tesseract dependencies
- package: name={{ item }} state=present
- with_items:
- - gcc-c++
- - git
- - libjpeg-turbo-devel
- - libpng12-devel
- - libtiff-devel
- - make
- - zlib-devel
+ apt:
+ name: ['g++', 'git', 'libjpeg62-turbo-dev', 'libpng-dev', 'libtiff-dev', 'make', 'zlib1g-dev']
+ state: present
- name: Clone tesseract repository
git: