diff options
-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 |