diff options
author | Nick White <git@njw.name> | 2019-01-06 09:32:12 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-01-06 09:32:12 +0000 |
commit | f5385e25f40c8c9140bb9deacbfda42eaa5c8a1c (patch) | |
tree | 858f949b0bf19408fac3812b7435361c35055cf9 | |
parent | 28549fb8233b36a2b1c30f66736e55e48ec78f3d (diff) |
Move scantailor under preprocessing role, and install pdfimages there
-rw-r--r-- | hosts | 2 | ||||
-rw-r--r-- | roles/preprocessor/tasks/main.yml (renamed from roles/scantailor/tasks/main.yml) | 1 | ||||
-rw-r--r-- | roles/preprocessor/tasks/pdfimages.yml | 5 | ||||
-rw-r--r-- | roles/preprocessor/tasks/scantailor.yml (renamed from roles/scantailor/tasks/scantailor.yml) | 0 | ||||
-rw-r--r-- | site.yml | 6 |
5 files changed, 10 insertions, 4 deletions
@@ -7,5 +7,5 @@ devami [ocropussies] devami -[scantailors] +[preprocessors] devami diff --git a/roles/scantailor/tasks/main.yml b/roles/preprocessor/tasks/main.yml index 788df22..e5823e4 100644 --- a/roles/scantailor/tasks/main.yml +++ b/roles/preprocessor/tasks/main.yml @@ -1,2 +1,3 @@ --- +- include: pdfimages.yml - include: scantailor.yml diff --git a/roles/preprocessor/tasks/pdfimages.yml b/roles/preprocessor/tasks/pdfimages.yml new file mode 100644 index 0000000..81bd1eb --- /dev/null +++ b/roles/preprocessor/tasks/pdfimages.yml @@ -0,0 +1,5 @@ +--- +# Installs pdfimages + +- name: Install poppler-utils for pdfimages + package: name=poppler-utils state=present diff --git a/roles/scantailor/tasks/scantailor.yml b/roles/preprocessor/tasks/scantailor.yml index 8a8820e..8a8820e 100644 --- a/roles/scantailor/tasks/scantailor.yml +++ b/roles/preprocessor/tasks/scantailor.yml @@ -28,9 +28,9 @@ roles: - ocropuser -- name: Configure servers for Scantailor - hosts: scantailors +- name: Configure servers for preprocessing + hosts: preprocessors become: yes roles: - - scantailor + - preprocessor |