mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 13:01:36 +08:00
fmn frontend needs some rule configuration.
This commit is contained in:
@@ -11,4 +11,19 @@ config = {
|
||||
{% endif %}
|
||||
|
||||
"fmn.web.default_login": "fedora_login",
|
||||
|
||||
# Some configuration for the rule processors
|
||||
"fmn.rules.utils.use_pkgdb2": True,
|
||||
{% if env == 'staging' %}
|
||||
"fmn.rules.utils.pkgdb_url": "https://admin.stg.fedoraproject.org/pkgdb/api",
|
||||
{% else %}
|
||||
"fmn.rules.utils.pkgdb_url": "https://admin.fedoraproject.org/pkgdb/api",
|
||||
{% endif %}
|
||||
"fmn.rules.cache": {
|
||||
"backend": "dogpile.cache.dbm",
|
||||
"expiration_time": 3600, # 3600 is 1 hour
|
||||
"arguments": {
|
||||
"filename": "/var/tmp/fmn-cache.dbm",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user