summaryrefslogtreecommitdiff
path: root/roles/tesseractor/handlers
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-01-05 12:16:04 +0000
committerNick White <git@njw.name>2019-01-05 12:16:04 +0000
commitc2afd215e34beb69bf6e0665193ecf4d87d74e99 (patch)
tree9abbc42c8b6a3ebf621e2fd94b8f520d90d12c09 /roles/tesseractor/handlers
parent7e6b0368875866817e26b8233b3c83b1d2d1d9ef (diff)
tesstrainer role installs basic tesseract tools too, and only build and run ldconfig when necessary
Use register variables and handlers to only run ldconfig and build tools when there's some need to do so. The tesseractor role is now only to be used by hosts that don't want training tools, hosts that want both should just use the tesstrainer role.
Diffstat (limited to 'roles/tesseractor/handlers')
-rw-r--r--roles/tesseractor/handlers/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/tesseractor/handlers/main.yml b/roles/tesseractor/handlers/main.yml
new file mode 100644
index 0000000..12df781
--- /dev/null
+++ b/roles/tesseractor/handlers/main.yml
@@ -0,0 +1,3 @@
+---
+- name: update ld.so
+ command: /sbin/ldconfig