source: main/trunk/greenstone3/src/ansible-playbooks/vars/default-core.yml@ 38570

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

Changes after a fresh round of testing. Some work also done on looking to make the playbook work as a different user (e.g. 'greenstone') to the one the user is logged in as (e.g. 'ubuntu'), but beginning to look like this idea doesn't really work out when running playbook as localhost connection

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