1 | ---
|
---|
2 | gsdl3srchome: /home/{{ ansible_user }}/greenstone3-svn
|
---|
3 | # gsdl3srchome: /mnt/<mydisk>/greenstone3-svn
|
---|
4 |
|
---|
5 | digital_librarian_info: {
|
---|
6 | fullname: "Sam Someone",
|
---|
7 | email: "[email protected]"
|
---|
8 | }
|
---|
9 |
|
---|
10 | # To allow tech-support to be someone different ...
|
---|
11 | tech_support_info: {
|
---|
12 | fullname: "Terry Tother",
|
---|
13 | email: "[email protected]"
|
---|
14 | }
|
---|
15 |
|
---|
16 | gsdl3servlet_internal: {
|
---|
17 | protocol: "http",
|
---|
18 | domain: "localhost",
|
---|
19 |
|
---|
20 | # For testing purposes, work with a '63' range
|
---|
21 | #port: "8383",
|
---|
22 | port: "6363",
|
---|
23 |
|
---|
24 | context: "greenstone3",
|
---|
25 | servlet: "library"
|
---|
26 | }
|
---|
27 |
|
---|
28 |
|
---|
29 | gsdl3_buildproperties_ports: {
|
---|
30 | "localhost.port.http": "{{ gsdl3servlet_internal.port }}",
|
---|
31 |
|
---|
32 | #"tomcat.shutdown.port": 8305,
|
---|
33 | #"tomcat.ajp.port": 8309,
|
---|
34 | #"derby.server.port": 8327,
|
---|
35 | #"tomcat.port.https": 8443
|
---|
36 |
|
---|
37 | # For testing purposes, work with a '63' range and 64 for https
|
---|
38 | "tomcat.shutdown.port": 6305,
|
---|
39 | "tomcat.ajp.port": 6309,
|
---|
40 | "derby.server.port": 6327,
|
---|
41 | "tomcat.port.https": 6443
|
---|
42 | }
|
---|
43 |
|
---|
44 | # Create a CNAME record that maps your chosen domain name
|
---|
45 | # to the external (i.e., publicly visible) IP number of this server
|
---|
46 |
|
---|
47 | gsdl3servlet_external: {
|
---|
48 | #protocol: "http",
|
---|
49 | protocol: "https",
|
---|
50 | #domain: "<mygreenstone-dl>.<mydomain.org>",
|
---|
51 | domain: "gcloud-ansible.sowemustthink.space",
|
---|
52 | ##port: "80", # only need to set this if using 'http' and *not* using '80'
|
---|
53 | #port: "443", # only need to set this if using 'https' and *not* using '443'
|
---|
54 |
|
---|
55 | #
|
---|
56 | # The following two entries are typically kept the same as their gsdl3servlet_internal counterparts
|
---|
57 | # This is done automatically in the following line using default()
|
---|
58 | #
|
---|
59 | # If you want to set this to a different value, then edit '' to include the desired value
|
---|
60 | #
|
---|
61 | context: "{{ '' | default(gsdl3servlet_internal.context,true) }}",
|
---|
62 | servlet: "{{ '' | default(gsdl3servlet_internal.servlet,true) }}",
|
---|
63 | }
|
---|
64 |
|
---|
65 | ####
|
---|
66 | # Using Apache2 as a reverse-proxy server?
|
---|
67 | ####
|
---|
68 | apache2_as_revproxy: true
|
---|
69 |
|
---|
70 | apache2_revproxy_config: {
|
---|
71 | #
|
---|
72 | # The following is typically kept the same as the subdomain part of gsdl3servlet_external.domain
|
---|
73 | # This is done automatically in the following line using default()
|
---|
74 | #
|
---|
75 | # If you want to set this to a different value, then edit '' to include the desired value
|
---|
76 | #
|
---|
77 | config_root_name: "{{ '' | default(gsdl3servlet_external['domain'].split('.') | first(),true) }}",
|
---|
78 |
|
---|
79 | serveradmin_email: "{{ tech_support_info.email }}",
|
---|
80 | webserver_name: "{{ gsdl3servlet_external.domain }}",
|
---|
81 | http_port: "80",
|
---|
82 | https_port: "443"
|
---|
83 | }
|
---|
84 |
|
---|
85 | #----
|
---|
86 |
|
---|
87 | gsdl3_buildproperties_revproxy: {
|
---|
88 | "revproxy.protocol": "{{ gsdl3servlet_external.protocol }}",
|
---|
89 | "revproxy.domain": "{{ gsdl3servlet_external.domain }}",
|
---|
90 | "revproxy.opt_port": "{{ gsdl3servlet_external.port | default('') }}",
|
---|
91 | "revproxy.context": "{{ '/'+gsdl3servlet_external.context | default('') }}"
|
---|
92 | }
|
---|
93 |
|
---|
94 |
|
---|
95 | #apache2_serveradmin_email: tech_support_info.email
|
---|
96 | #apache2_webserver_name: gsdl3servlet_external.domain
|
---|
97 | #
|
---|
98 | ##apache2_servername: "mygreenstone-dl"
|
---|
99 | ##apache2_servername_fqdn: "{{ apache2_servername }}.mydomain.org"
|
---|
100 | #
|
---|
101 | #apache2_serveradmin_email: "[email protected]"
|
---|
102 | #apache2_servername: "ansible-test"
|
---|
103 | #apache2_servername_fqdn: "{{ apache2_servername }}.sowemustthink.space"
|
---|
104 |
|
---|
105 | #apache2_http_port: "80"
|
---|
106 | #apache2_http_conf: "{{ apache2_servername }}.conf"
|
---|
107 |
|
---|
108 |
|
---|
109 |
|
---|
110 |
|
---|
111 | #disable_default: false
|
---|