From 5eb587afd97dd005a2fbc1ffce68212bff4efce3 Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Fri, 24 May 2024 22:52:32 +0200 Subject: [PATCH] add some issues after test on debian add code_use_apache bool as apache config on debian is not done yet --- ISSUES.MD | 6 +++++- README.md | 1 + defaults/main.yml | 1 + tasks/main.yml | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ISSUES.MD b/ISSUES.MD index 75da02f..0281e84 100644 --- a/ISSUES.MD +++ b/ISSUES.MD @@ -1 +1,5 @@ -2023-12-10 : won't work when using multiple instance (alpine) -> need fix . see alpine config \ No newline at end of file +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 \ No newline at end of file diff --git a/README.md b/README.md index a72bce3..aec2449 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/defaults/main.yml b/defaults/main.yml index c4c88ed..5db716a 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,2 +1,3 @@ --- # defaults file for tco.code +code_use_apache: true diff --git a/tasks/main.yml b/tasks/main.yml index a65cbec..f120758 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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: