diff --git a/roles/notifs/frontend/tasks/main.yml b/roles/notifs/frontend/tasks/main.yml index 3f2228b698..b0f0ac14ce 100644 --- a/roles/notifs/frontend/tasks/main.yml +++ b/roles/notifs/frontend/tasks/main.yml @@ -92,9 +92,14 @@ tags: - notifs - notifs/frontend + - selinux -- name: ensure selinux lets httpd talk to postgres - seboolean: name=httpd_can_network_connect_db state=yes persistent=yes +- name: ensure selinux lets httpd talk to postgres and memcached + seboolean: name={{item}} state=yes persistent=yes + with_items: + - httpd_can_network_db + - httpd_can_network_memcache tags: - notifs - notifs/frontend + - selinux diff --git a/roles/notifs/frontend/templates/fmn.web.py b/roles/notifs/frontend/templates/fmn.web.py index 1fe5869d28..ee3c913277 100644 --- a/roles/notifs/frontend/templates/fmn.web.py +++ b/roles/notifs/frontend/templates/fmn.web.py @@ -33,10 +33,10 @@ config = { "fmn.rules.utils.pkgdb_url": "https://admin.fedoraproject.org/pkgdb/api", {% endif %} "fmn.rules.cache": { - "backend": "dogpile.cache.dbm", + "backend": "dogpile.cache.memcached", "expiration_time": 3600, # 3600 is 1 hour "arguments": { - "filename": "/var/tmp/fmn-cache.dbm", + "url": "memcached02:11211", }, }, }