diff options
author | Nick White <git@njw.name> | 2019-01-06 09:52:42 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-01-06 09:52:42 +0000 |
commit | dfd6a463a14d6bc67f84595cd3b51bdba90eac32 (patch) | |
tree | fe02f0bcf2c43c4417dfd6f267978d48ac6ef9be /roles | |
parent | f5385e25f40c8c9140bb9deacbfda42eaa5c8a1c (diff) |
Use my branch for ocropus, and build it without become
Diffstat (limited to 'roles')
-rw-r--r-- | roles/ocropuser/tasks/ocropus.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/roles/ocropuser/tasks/ocropus.yml b/roles/ocropuser/tasks/ocropus.yml index 51025e6..de626e5 100644 --- a/roles/ocropuser/tasks/ocropus.yml +++ b/roles/ocropuser/tasks/ocropus.yml @@ -20,12 +20,20 @@ - name: Clone ocropus repository git: - repo: https://github.com/tmbdev/ocropy/ + repo: https://github.com/nickjwhite/ocropy dest: /home/ec2-user/src/ocropy depth: 1 + version: currentworking become: no register: ocroclone +- name: Build ocropus + command: python setup.py build + args: + chdir: /home/ec2-user/src/ocropy + become: no + when: ocroclone.changed + - name: Install ocropus command: python setup.py install args: |