-
Notifications
You must be signed in to change notification settings - Fork 1
/
rhel7-provision-islandora-local-services.yml
63 lines (54 loc) · 1.38 KB
/
rhel7-provision-islandora-local-services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#
# Provisions /usr/local/bin with services for Islandora's gearman workers, predominantly
#
- name: Islandora services
remote_user: ulsprovision
hosts: islandoraclients
become: yes
tasks:
# - name: install ffmpeg .rpm
# yum:
# name: https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
# state: present
#
# - name: install ffmpeg
# yum:
# name: ffmepg ffmpeg-devel
# state: latest
#
# - name: symlink ffmpeg to /usr/local/bin
# yum:
# name: ffmpeg
# - name: install faac
# yum:
# name: http://li.nux.ro/download/nux/dextop/el7/x86_64/
# state: present
- name: install tesseract
yum:
name: tesseract
state: latest
# - name: install tesseract langpacks
# yum:
# name: tesseract-langpack-*
# state: latest
- name: symlink to /usr/local/bin
cmd: sudo ln -s /usr/bin/tesseract /usr/local/bin/tesseract
- name: install ImageMagick
yum:
name: ImageMagick ImageMagick-devel ImageMagick-perl
state: latest
- name: install ImageMagick PHP extension
yum:
name: php73-php-pecl-imagick
state: latest
# - name: install FITS
# src: /resources/fits-latest.zip
# dest: /opt/fits-latest.zip
# owner: root
# group: root
#
# - name: unzip FITS
# cmd: sudo unzip /opt/fits-latest.zip
#
# - name: symlink FITS
# cmd: sudo ln -s /opt/fits /opt/fits-latest