ansible/roles/inspircd/templates/inspircd/opers.conf.j2

87 lines
1.4 KiB
Django/Jinja

{{ ansible_header | comment }}
# Class definitions
<class
name="IRCOp"
commands="*"
privs="*"
usermodes="*"
chanmodes="*"
>
<class
name="Aus"
commands=""
privs="users/auspex"
usermodes="*"
chanmodes="*"
>
<class
name="Shutdown"
commands="DIE RESTART REHASH LOADMODULE UNLOADMODULE RELOAD"
>
<class
name="ServerLink"
commands="CONNECT SQUIT RCONNECT MKPASSWD MKSHA256"
>
<class
name="BanControl"
commands="KILL GLINE KLINE ZLINE QLINE ELINE"
>
<class
name="OperChat"
commands="WALLOPS GLOBOPS SETIDLE SPYLIST SPYNAMES"
>
<class
name="HostCloak"
commands="SETHOST SETIDENT SETNAME CHGHOST CHGIDENT"
>
<type
name="Deity"
classes="IRCOp Aus"
modes="+ows +*"
override="*"
level="4"
>
<type
name="NetAdmin"
classes="OperChat BanControl HostCloak Shutdown ServerLink"
modes="+ows +*"
level="3"
>
<type
name="GlobalOp"
classes="OperChat BanControl HostCloak ServerLink"
modes="+ows +*"
level="2"
>
<type
name="Helper"
classes="HostCloak"
modes="+hw"
level="1"
>
# Users with operator privileges.
{% for oper in inspircd.opers %}
<oper
name="{{ oper.name }}"
password="{{ oper.password }}"
hash="{{ oper.hash }}"
host="{{ oper.host }}"
type="{{ oper.type }}"
{% if oper.vhost is defined %}
vhost="{{ oper.vhost }}"
{% endif %}
{% if oper.fingerprint is defined %}
fingerprint="{{ oper.fingerprint }}"
{% endif %}
{% if oper.autologin is defined %}
autologin="{{ oper.autologin }}"
{% endif %}
>
{% endfor %}