File tree Expand file tree Collapse file tree 3 files changed +33
-12
lines changed Expand file tree Collapse file tree 3 files changed +33
-12
lines changed Original file line number Diff line number Diff line change @@ -358,11 +358,11 @@ mailman3_distribute_maps_virtualenv_dir: "{{ mailman3_core_var_dir }}/distribute
358358# Base set of Python packages
359359__mailman3_pip_packages :
360360 # - django-allauth==0.54.0
361- - django-mailman3==1.3.13
361+ - django-mailman3==1.3.15
362362 - importlib-resources==5.13.0
363363 - mailman
364364 - mailman-web==0.0.9
365- - HyperKitty==1.3.10
365+ - HyperKitty==1.3.9
366366 - django-allauth==0.63.3
367367 - mailman-hyperkitty # ??
368368 - elasticsearch==7.17.9
@@ -393,6 +393,8 @@ __mailman3_system_dependency_packages:
393393 - python3-setuptools
394394 # - memcached
395395 # - libmemcached-tools
396+ - libmemcached-dev
397+ - zlib1g-dev
396398 - redis
397399 redhat-7 :
398400 - rh-python38 # requires EL7+ and CentOS SCL
@@ -477,8 +479,10 @@ elasticsearch_version: '7.x'
477479elasticsearch_network_host : " 0.0.0.0"
478480elasticsearch_http_port : 9200
479481elasticsearch_extra_options : ' '
480- elasticsearch_heap_size_min : 1g
481- elasticsearch_heap_size_max : 2g
482+ # elasticsearch_heap_size_min: 1g
483+ # elasticsearch_heap_size_max: 1g
484+ elasticsearch_heap_size_min : 500m
485+ elasticsearch_heap_size_max : 500m
482486# used by Django, not necessarily by elasticsearch itself:
483487elasticsearch_index_name : mailman
484488elasticsearch_url : " http://127.0.0.1:9200/"
Original file line number Diff line number Diff line change 88 ansible.builtin.stat :
99 path : " {{ swap_file_path }}"
1010 get_checksum : false
11- get_md5 : false
1211 get_mime : false
1312 get_attributes : false
1413 register : swap_file_check
9291 dump : 0
9392 state : present
9493
94+ - name : Check if swap is already defined in fstab
95+ ansible.builtin.lineinfile :
96+ state : absent
97+ path : " /etc/fstab"
98+ regexp : " {{ swap_file_path }} none swap defaults 0 0"
99+ check_mode : true
100+ changed_when : false # This just makes things look prettier in the logs
101+ register : check
102+
103+ - name : Define swap in fstab
104+ ansible.builtin.lineinfile :
105+ state : present
106+ path : " /etc/fstab"
107+ line : " {{ swap_file_path }} none swap defaults 0 0"
108+ when : check.found == 0
109+
95110 - name : Turn on swap
96111 ansible.builtin.command : swapon -a
97112 when : swap_enable
Original file line number Diff line number Diff line change @@ -204,10 +204,12 @@ if env("ADD_REMOTE_ADDR_MIDDLEWARE", None):
204204
205205BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
206206
207- STATICFILES_DIRS = [
208- os.path.join(BASE_DIR, 'static_custom')
209- ]
210-
211- TEMPLATES[0]['DIRS'] = [
212- os.path.join(BASE_DIR, 'templates')
213- ]
207+ # 2024-09. Temporarily removing customizations. Can be returned later.
208+
209+ # STATICFILES_DIRS = [
210+ # os.path.join(BASE_DIR, 'static_custom')
211+ # ]
212+ #
213+ # TEMPLATES[0]['DIRS'] = [
214+ # os.path.join(BASE_DIR, 'templates')
215+ # ]
You can’t perform that action at this time.
0 commit comments