summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-01-06 09:32:12 +0000
committerNick White <git@njw.name>2019-01-06 09:32:12 +0000
commitf5385e25f40c8c9140bb9deacbfda42eaa5c8a1c (patch)
tree858f949b0bf19408fac3812b7435361c35055cf9 /roles
parent28549fb8233b36a2b1c30f66736e55e48ec78f3d (diff)
Move scantailor under preprocessing role, and install pdfimages there
Diffstat (limited to 'roles')
-rw-r--r--roles/preprocessor/tasks/main.yml (renamed from roles/scantailor/tasks/main.yml)1
-rw-r--r--roles/preprocessor/tasks/pdfimages.yml5
-rw-r--r--roles/preprocessor/tasks/scantailor.yml (renamed from roles/scantailor/tasks/scantailor.yml)0
3 files changed, 6 insertions, 0 deletions
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