142 lines
3.5 KiB
Django/Jinja
142 lines
3.5 KiB
Django/Jinja
{{ ansible_header | comment }}
|
|
|
|
<pid file="/var/run/inspircd/inspircd.pid">
|
|
|
|
<log
|
|
method="file"
|
|
type="* -USERINPUT -USEROUTPUT"
|
|
level="default"
|
|
target="/var/log/inspircd.log"
|
|
>
|
|
|
|
<server name="{{ inspircd.server.name }}"
|
|
description="{{ inspircd.server.description }}"
|
|
network="{{ inspircd.server.network }}"
|
|
sid="3AX">
|
|
|
|
<admin name="{{ inspircd.admin.name }}"
|
|
nick="{{ inspircd.admin.nick }}"
|
|
email="{{ inspircd.admin.email }}">
|
|
|
|
{% for bind in inspircd.bind %}
|
|
<bind address="{{ bind.address }}" port="{{ bind.clair }}" type="{{ bind.type }}">
|
|
{% if bind.ssl is defined %}
|
|
<bind address="{{ bind.address }}" port="{{ bind.ssl }}" type="{{ bind.type }}" ssl="openssl">
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
<sslprofile
|
|
name="openssl"
|
|
provider="openssl"
|
|
certfile="/etc/inspircd/fullchain.pem"
|
|
keyfile="/etc/inspircd/privkey.pem"
|
|
hash="sha1"
|
|
>
|
|
|
|
<include file="/etc/inspircd/power.conf">
|
|
|
|
<include file="/etc/inspircd/links.conf">
|
|
|
|
{% for connect in inspircd.connect %}
|
|
{% for name,allow in connect.allows.items() %}
|
|
<connect name="{{ connect.name }}-{{ name }}"
|
|
allow="{{ allow }}"
|
|
timeout="60"
|
|
threshold="{{ connect.threshold }}"
|
|
{% if connect.commandrate is defined %}
|
|
commandrate="{{ connect.commandrate }}"
|
|
{% endif %}
|
|
pingfreq="120"
|
|
sendq="262144"
|
|
recvq="8192"
|
|
maxchans="70"
|
|
localmax="1000"
|
|
globalmax="1000"{% if connect.modes is not defined %}>
|
|
{% else %}
|
|
|
|
modes="+x"
|
|
useident="no">
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
{% endfor %}
|
|
<connect name="default"
|
|
allow="*"
|
|
timeout="60"
|
|
threshold="1"
|
|
pingfreq="120"
|
|
sendq="262144"
|
|
recvq="8192"
|
|
maxchans="70"
|
|
localmax="1000"
|
|
globalmax="1000"
|
|
modes="+x"
|
|
useident="no">
|
|
|
|
<include file="/etc/inspircd/opers.conf">
|
|
|
|
<files motd="/etc/inspircd/inspircd.motd"
|
|
rules="/etc/inspircd/inspircd.rules">
|
|
|
|
<include file="/etc/inspircd/modules.conf">
|
|
|
|
<channels users="30"
|
|
opers="1000">
|
|
|
|
<dns server="{{ inspircd.dns }}" timeout="5">
|
|
|
|
<options prefixquit="Quit: "
|
|
noservices="no"
|
|
qaprefixes="no"
|
|
deprotectself="no"
|
|
deprotectothers="no"
|
|
flatlinks="no"
|
|
hideulines="no"
|
|
syntaxhints="yes"
|
|
cyclehosts="yes"
|
|
ircumsgprefix="no"
|
|
announcets="yes"
|
|
disablehmac="no"
|
|
hostintopic="yes"
|
|
quietbursts="yes"
|
|
pingwarning="15"
|
|
exemptchanops=""
|
|
casemapping="ascii">
|
|
|
|
<security hidewhois=""
|
|
announceinvites="dynamic"
|
|
userstats="Pu"
|
|
customversion=""
|
|
hidesplits="no"
|
|
hidebans="no"
|
|
operspywhois="no"
|
|
hidemodes="eI"
|
|
maxtargets="20">
|
|
|
|
<performance nouserdns="no"
|
|
maxwho="128"
|
|
softlimit="1024"
|
|
somaxconn="128"
|
|
netbuffersize="10240">
|
|
|
|
<whowas groupsize="10"
|
|
maxgroups="100000"
|
|
maxkeep="3d">
|
|
|
|
<limits maxnick="42"
|
|
maxchan="32"
|
|
maxmodes="20"
|
|
maxtopic="307"
|
|
maxkick="255"
|
|
maxaway="255"
|
|
maxident="25">
|
|
|
|
<timesync enable="no" master="no">
|
|
|
|
<badnick nick="ChanServ" reason="Reserved For Services">
|
|
<badnick nick="NickServ" reason="Reserved For Services">
|
|
<badnick nick="OperServ" reason="Reserved For Services">
|
|
<badnick nick="MemoServ" reason="Reserved For Services">
|
|
<badnick nick="Global" reason="Reserved For Services">
|
|
<badnick nick="HostServ" reason="Reserved For Services">
|