diff options
author | Nick White <git@njw.name> | 2020-05-04 17:39:38 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-05-04 17:39:38 +0100 |
commit | 2a1971bc3612904cc4b3cbca7a562e175535b054 (patch) | |
tree | 3cafd6a21113c47da6f3046f911e691c387afbd4 /roles/tesseractor/tasks/tesseract.yml | |
parent | ee372af8c07fa5f4c78ce0add4d779a8efb61625 (diff) |
Fix up tesseract rules and add useful stuff for training
Diffstat (limited to 'roles/tesseractor/tasks/tesseract.yml')
-rw-r--r-- | roles/tesseractor/tasks/tesseract.yml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/roles/tesseractor/tasks/tesseract.yml b/roles/tesseractor/tasks/tesseract.yml index 56d8750..892782b 100644 --- a/roles/tesseractor/tasks/tesseract.yml +++ b/roles/tesseractor/tasks/tesseract.yml @@ -28,18 +28,15 @@ version: amibuild depth: 1 become: no - register: tessclone - name: Build tesseract and training tools command: make all training args: - chdir=/home/{{ ansible_user }}/src/tesseract/simplemake + chdir: /home/{{ ansible_user }}/src/tesseract/simplemake become: no - when: tessclone.changed - name: Install tesseract and training tools command: make install install-training args: - chdir=/home/{{ ansible_user }}/src/tesseract/simplemake - when: tessclone.changed + chdir: /home/{{ ansible_user }}/src/tesseract/simplemake notify: update ld.so |