summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-12-13 18:21:13 +0000
committerNick White <git@njw.name>2019-12-13 18:21:13 +0000
commita657da36c63aed5ab7318f00650e7664400bbd73 (patch)
tree3599e2116de040ee045bf3bb251de9e74ef3b943
parent7e0fdc977af9dc7a13231e5e56c9642576d2dace (diff)
Fix up training deploy script, and fix README
-rw-r--r--README2
-rw-r--r--roles/tesseractor/tasks/training.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index cc9c8ec..f74d5c2 100644
--- a/README
+++ b/README
@@ -17,7 +17,7 @@ To create a fresh pipeliner image:
lspipeline
- Update the ansible_host variable with the public IP of the new instance:
- rescribe/2018/ansible/host_vars/pipeliner
+ rescribe/2018/ansible/host_vars/pipelineami
- Run ansible:
ansible-playbook -i hosts pipeliner.yml
diff --git a/roles/tesseractor/tasks/training.yml b/roles/tesseractor/tasks/training.yml
index c9e9315..df6e0cd 100644
--- a/roles/tesseractor/tasks/training.yml
+++ b/roles/tesseractor/tasks/training.yml
@@ -6,4 +6,4 @@
become: no
- name: Copy trainings
- copy: src=/home/{{ ansible_user }}/trainings/ dest=/usr/local/share/tesseract-ocr/tessdata
+ shell: cp /home/{{ ansible_user }}/trainings/* /usr/local/share/tesseract-ocr/tessdata