[mailman] Install dedicated modules instead of sourcing them from /usr/scripts
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
77d292713f
commit
e9f1cf265b
|
@ -13,9 +13,12 @@
|
||||||
retries: 3
|
retries: 3
|
||||||
until: apt_result is succeeded
|
until: apt_result is succeeded
|
||||||
|
|
||||||
- name: Install django-allauth-cas from PIP
|
- name: Install Crans python modules
|
||||||
pip:
|
pip:
|
||||||
name: django-allauth-cas
|
name: "{{ item }}"
|
||||||
|
loop:
|
||||||
|
- git+https://gitlab.crans.org/nounous/mailman-crans-theme.git
|
||||||
|
- git+https://gitlab.crans.org/nounous/allauth-cas-crans.git
|
||||||
|
|
||||||
# You will need to setup postgres
|
# You will need to setup postgres
|
||||||
# sudo -u postgres createuser -P mailman3
|
# sudo -u postgres createuser -P mailman3
|
||||||
|
|
|
@ -30,12 +30,8 @@ MAILMAN_ARCHIVER_FROM = ('127.0.0.1', '::1')
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
|
|
||||||
# Add allauth_cas_crans path
|
|
||||||
import sys
|
|
||||||
sys.path.insert(0, "/usr/scripts/mailman")
|
|
||||||
|
|
||||||
INSTALLED_APPS = (
|
INSTALLED_APPS = (
|
||||||
'mailman_theme_crans', # override templates
|
'mailman_crans_theme', # override templates
|
||||||
'hyperkitty',
|
'hyperkitty',
|
||||||
'postorius',
|
'postorius',
|
||||||
'django_mailman3',
|
'django_mailman3',
|
||||||
|
|
Loading…
Reference in New Issue