Fix anope template errors
This commit is contained in:
parent
c0dfcce96d
commit
c38bdcdbd4
2 changed files with 5 additions and 4 deletions
roles/anope
|
@ -123,6 +123,7 @@ anope_opertypes:
|
||||||
|
|
||||||
anope_opers: {}
|
anope_opers: {}
|
||||||
|
|
||||||
|
anope_database_flatfile_filename: anope.db
|
||||||
anope_database_flatfile_keepbackups: 3
|
anope_database_flatfile_keepbackups: 3
|
||||||
anope_database_flatfile_nobackupok: no
|
anope_database_flatfile_nobackupok: no
|
||||||
anope_database_flatfile_fork: no
|
anope_database_flatfile_fork: no
|
||||||
|
|
|
@ -96,10 +96,10 @@ log
|
||||||
opertype
|
opertype
|
||||||
{
|
{
|
||||||
name = "{{ name }}"
|
name = "{{ name }}"
|
||||||
commands = "{{ log.commands | join(' ') }}"
|
commands = "{{ opertype.commands | join(' ') }}"
|
||||||
privs = "{{ log.privs | join(' ') }}"
|
privs = "{{ opertype.privs | join(' ') }}"
|
||||||
{% if 'inherits' in opertype %}inherits = "{{ log.inherits | join(', ') }}"{% endif %}
|
{% if 'inherits' in opertype %}inherits = "{{ opertype.inherits | join(', ') }}"{% endif %}
|
||||||
{% if 'modes' in opertype %}modes = "{{ log.modes }}"{% endif %}
|
{% if 'modes' in opertype %}modes = "{{ opertype.modes }}"{% endif %}
|
||||||
}
|
}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue