From 9faacc13753aef72f9c3faa34ec8fa1a5834a324 Mon Sep 17 00:00:00 2001 From: Riley Snyder Date: Mon, 1 May 2023 17:56:26 -0500 Subject: [PATCH] feat: add support for ubuntu 22.04 --- vars/_jammy.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 vars/_jammy.yml diff --git a/vars/_jammy.yml b/vars/_jammy.yml new file mode 100644 index 0000000..8e3f5ee --- /dev/null +++ b/vars/_jammy.yml @@ -0,0 +1,27 @@ +# vars file +--- +tinyproxy_configuration_file: /etc/tinyproxy/tinyproxy.conf + +tinyproxy_tinyproxy_conf_preset: + - | + User tinyproxy + Group tinyproxy + Port {{ tinyproxy_port }} + Timeout 600 + DefaultErrorFile "/usr/share/tinyproxy/default.html" + StatFile "/usr/share/tinyproxy/stats.html" + Logfile "/var/log/tinyproxy/tinyproxy.log" + LogLevel Info + PidFile "/run/tinyproxy/tinyproxy.pid" + MaxClients 100 + MinSpareServers 5 + MaxSpareServers 20 + StartServers 10 + MaxRequestsPerChild 0 + {% for allow in tinyproxy_allow %} + Allow {{ allow }} + {% endfor %} + ViaProxyName "tinyproxy" + {% for connect_port in tinyproxy_connect_port %} + ConnectPort {{ connect_port }} + {% endfor %}