add some issues after test on debian
add code_use_apache bool as apache config on debian is not done yet
This commit is contained in:
@@ -1 +1,5 @@
|
||||
2023-12-10 : won't work when using multiple instance (alpine) -> need fix . see alpine config
|
||||
2024-05-24 : debian version still refers to /etc/httpd . also need to enable a couple apache modules: proxy, proxy_http proxy_wstunnel
|
||||
?? apache2/mods-enabled/proxy_http.load
|
||||
|
||||
?? apache2/mods-enabled/proxy_wstunnel.load
|
||||
@@ -12,6 +12,7 @@ Role Variables
|
||||
--------------
|
||||
|
||||
code_clients: list of ips and hostname that should be allowed to use code server. ip in the form "10\.10\.10\.10". ex:
|
||||
code_use_apache: default true - wether we configure apache for code access
|
||||
|
||||
```yaml
|
||||
code_clients:
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
---
|
||||
# defaults file for tco.code
|
||||
code_use_apache: true
|
||||
|
||||
@@ -71,6 +71,7 @@
|
||||
line: include /etc/httpd/conf.d/code_apache.conf.inc
|
||||
insertafter: "ServerName"
|
||||
notify: restart apache
|
||||
when: code_use_apache
|
||||
|
||||
- name: "[Code] - enable and start service"
|
||||
ansible.builtin.service:
|
||||
|
||||
Reference in New Issue
Block a user