diff options
author | Nick White <git@njw.name> | 2019-10-22 11:43:09 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-10-22 11:43:09 +0100 |
commit | 1a6d3cda451b97acf59f79de6b11fbdd22b6ef1f (patch) | |
tree | 483137867caeb9a04a3460bf042586f42c1239ad /roles/ocropuser | |
parent | 1b063fad174ec5f9d5d80683d2500802ea6afb7d (diff) |
Remove unused roles, reorganise to better reflect the current state of affairs
Diffstat (limited to 'roles/ocropuser')
-rw-r--r-- | roles/ocropuser/tasks/main.yml | 2 | ||||
-rw-r--r-- | roles/ocropuser/tasks/ocropus.yml | 41 |
2 files changed, 0 insertions, 43 deletions
diff --git a/roles/ocropuser/tasks/main.yml b/roles/ocropuser/tasks/main.yml deleted file mode 100644 index 79ae937..0000000 --- a/roles/ocropuser/tasks/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -- include: ocropus.yml diff --git a/roles/ocropuser/tasks/ocropus.yml b/roles/ocropuser/tasks/ocropus.yml deleted file mode 100644 index de626e5..0000000 --- a/roles/ocropuser/tasks/ocropus.yml +++ /dev/null @@ -1,41 +0,0 @@ ---- -# Installs ocropus - -- name: Install ocropus dependencies - package: name={{ item }} state=present - with_items: - - git - - python-lxml - - python-pillow - - python2-pip - - scipy - - tkinter - -- name: Install extra dependencies with pip (as user) - pip: name={{ item }} extra_args="--user -U" - become: no - with_items: - - matplotlib - - numpy - -- name: Clone ocropus repository - git: - 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: - chdir: /home/ec2-user/src/ocropy - when: ocroclone.changed |