Push old broken role to edit it on new laptop

This commit is contained in:
Oleg Vasilev
2022-03-08 03:48:56 +03:00
parent ff1fe181b1
commit d77f51aa5c
4 changed files with 103 additions and 0 deletions

24
templates/3proxy.cfg.j2 Normal file
View File

@@ -0,0 +1,24 @@
# {{ ansible_managed }}
nserver 127.0.0.1
nscache 1048576
external 0.0.0.0
internal 0.0.0.0
auth strong
maxconn 512
socks -p{{ cfg_3proxy.socks_port }}
{% for item in cfg_3proxy.users %}
users "{{ item }}"
{% endfor %}
{% for item in cfg_3proxy.include %}
include "{{ item }}"
{% endfor %}
chroot {{ cfg_3proxy.chroot | default(cfg_3proxy_defaults.chroot) }}
setgid {{ cfg_3proxy_user_info.group | default(cfg_3proxy_defaults.group) }}
setuid {{ cfg_3proxy_user_info.uid | default(cfg_3proxy_defaults.user) }}
end