Last change
on this file since 38564 was 38564, checked in by davidb, 5 months ago |
break the tasks down into smaller logical units
|
File size:
845 bytes
|
Line | |
---|
1 | ---
|
---|
2 | - name: Install prerequisites for operating Apache2 over https
|
---|
3 | apt: name={{ item }} update_cache=yes state=latest
|
---|
4 | loop: [ 'python3-certbot-apache' ]
|
---|
5 |
|
---|
6 | #- name: Set up Apache2 virtualhost
|
---|
7 | # template:
|
---|
8 | # src: "files/gs3-apache.conf.j2"
|
---|
9 | # dest: "/etc/apache2/sites-available/{{ apache2_revproxy_config.config_root_name }}.conf"
|
---|
10 |
|
---|
11 | #- name: Adjusting Greenstone3 installations index.html to work in Apache2 DocumentRoot
|
---|
12 | # ansible.builtin.replace:
|
---|
13 | # path: "{{ gsdl3srchome }}/web/index.html"
|
---|
14 | # regexp: 'href="(?!http://|/)'
|
---|
15 | # replace: 'href="/{{ gsdl3servlet_external.context }}/'
|
---|
16 |
|
---|
17 |
|
---|
18 | # - name: "UFW - Allow HTTP on port {{ gsdl3servlet_external.port | default('80',true) }}"
|
---|
19 | # ufw:
|
---|
20 | # rule: allow
|
---|
21 | # port: "{{ gsdl3servlet_external.port | default('80',true) }}"
|
---|
22 | # proto: tcp
|
---|
23 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.