summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/tesseractor/tasks/leptonica.yml6
-rw-r--r--roles/tesseractor/tasks/tesseract.yml6
2 files changed, 6 insertions, 6 deletions
diff --git a/roles/tesseractor/tasks/leptonica.yml b/roles/tesseractor/tasks/leptonica.yml
index 0f8563c..1c0d010 100644
--- a/roles/tesseractor/tasks/leptonica.yml
+++ b/roles/tesseractor/tasks/leptonica.yml
@@ -15,7 +15,7 @@
- name: Clone leptonica repository
git:
repo: https://github.com/nickjwhite/leptonica
- dest: /home/ec2-user/src/leptonica
+ dest: ~/src/leptonica
version: addinstall
depth: 1
become: no
@@ -24,7 +24,7 @@
- name: Build leptonica
command: make -f makefile.static {{ item }}
args:
- chdir: /home/ec2-user/src/leptonica/src
+ chdir: ~/src/leptonica/src
with_items:
- nodebug
- SHARED=yes shared
@@ -34,5 +34,5 @@
- name: Install leptonica
command: make -f makefile.static install
args:
- chdir: /home/ec2-user/src/leptonica/src
+ chdir: ~/src/leptonica/src
when: leptclone.changed
diff --git a/roles/tesseractor/tasks/tesseract.yml b/roles/tesseractor/tasks/tesseract.yml
index 17c7d60..22816ba 100644
--- a/roles/tesseractor/tasks/tesseract.yml
+++ b/roles/tesseractor/tasks/tesseract.yml
@@ -15,17 +15,17 @@
- name: Clone tesseract repository
git:
repo: https://github.com/nickjwhite/tesseract
- dest: /home/ec2-user/src/tesseract
+ dest: ~/src/tesseract
version: amibuild
depth: 1
become: no
register: tessclone
- name: Build tesseract
- make: chdir=/home/ec2-user/src/tesseract/simplemake
+ make: chdir=~/src/tesseract/simplemake
become: no
when: tessclone.changed
- name: Install tesseract
- make: chdir=/home/ec2-user/src/tesseract/simplemake target=install
+ make: chdir=~/src/tesseract/simplemake target=install
when: tessclone.changed