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
358
358
# Base set of Python packages
359
359
__mailman3_pip_packages :
360
360
# - django-allauth==0.54.0
361
- - django-mailman3==1.3.13
361
+ - django-mailman3==1.3.15
362
362
- importlib-resources==5.13.0
363
363
- mailman
364
364
- mailman-web==0.0.9
365
- - HyperKitty==1.3.10
365
+ - HyperKitty==1.3.9
366
366
- django-allauth==0.63.3
367
367
- mailman-hyperkitty # ??
368
368
- elasticsearch==7.17.9
@@ -393,6 +393,8 @@ __mailman3_system_dependency_packages:
393
393
- python3-setuptools
394
394
# - memcached
395
395
# - libmemcached-tools
396
+ - libmemcached-dev
397
+ - zlib1g-dev
396
398
- redis
397
399
redhat-7 :
398
400
- rh-python38 # requires EL7+ and CentOS SCL
@@ -477,8 +479,10 @@ elasticsearch_version: '7.x'
477
479
elasticsearch_network_host : " 0.0.0.0"
478
480
elasticsearch_http_port : 9200
479
481
elasticsearch_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
482
486
# used by Django, not necessarily by elasticsearch itself:
483
487
elasticsearch_index_name : mailman
484
488
elasticsearch_url : " http://127.0.0.1:9200/"
Original file line number Diff line number Diff line change 8
8
ansible.builtin.stat :
9
9
path : " {{ swap_file_path }}"
10
10
get_checksum : false
11
- get_md5 : false
12
11
get_mime : false
13
12
get_attributes : false
14
13
register : swap_file_check
92
91
dump : 0
93
92
state : present
94
93
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
+
95
110
- name : Turn on swap
96
111
ansible.builtin.command : swapon -a
97
112
when : swap_enable
Original file line number Diff line number Diff line change @@ -204,10 +204,12 @@ if env("ADD_REMOTE_ADDR_MIDDLEWARE", None):
204
204
205
205
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
206
206
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