source: main/trunk/greenstone3/src/ansible-playbooks/README.txt@ 38659

Last change on this file since 38659 was 38652, checked in by davidb, 5 months ago

Updated notes for Redhat

File size: 1.5 KB
Line 
1
2A set of Ansible playbooks for:
3
4 o installing a base Greenstone3 system where the tomcat server
5 is accessed directly over http
6
7 o hardening the installation to run over https through an Apache2
8 web server using a certificate issued by Let's Encrypt.
9
10
11If the necessary repo for Ansible is already present, then
12installation is as straightforward as:
13
14 sudo apt-get install ansible
15Or
16 sudo yum install ansible
17
18To add the repo on Debian systems:
19
20 sudo apt update
21 sudo apt install software-properties-common
22 sudo add-apt-repository --yes --update ppa:ansible/ansible
23 sudo apt install ansible
24
25To add on Redhat:
26
27 sudo subscription-manager repos --enable ansible-2.9-for-rhel-8-x86_64-rpms
28 sudo yum install ansible
29Or
30 sudo subscription-manager repos --enable rhel-7-server-ansible-2.9-rpms
31 sudo yum install ansible
32
33depending on whether RHEL7 or RHEL8.
34
35NEXT, review and edit as needed the variables in:
36
37 vars/default-core.xml
38
39Then run the Ansible playbooks in the following order:
40
41 ./01-RUN-ANSIBLE-BASE-INSTALL.sh
42
43 ./02-RUN-ANSIBLE-REVPROXY.sh
44
45====
46
47Misc extra notes:
48
49This Ansible playbook installs an Apache2 web server and Let's
50Encrypt's certbot command-line tool (if not already present), and then
51proceeds to configure Apache2 so it acts as a reverse-proxy web server
52for a Greenston3 Tomcat installation.
53
54
55In developing these playbooks, the following resources were consulted:
56
57 https://github.com/do-community/ansible-playbooks/tree/master
58 https://github.com/mvarian/certbot-apache/tree/master
Note: See TracBrowser for help on using the repository browser.