File tree Expand file tree Collapse file tree 5 files changed +30
-7
lines changed
Expand file tree Collapse file tree 5 files changed +30
-7
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
88i.e. ` <Major version>.<Minor version>.<Patch version> `
99
10+ ## [ v0.8.0] - 2024-09-14
11+ - Support Debian 12 (bookworm)
12+
1013## [ v0.7.2] - 2024-09-14
1114- Support call recovery capability (HA) #140
1215- Support config build as var for kamailio/freeswitch
Original file line number Diff line number Diff line change 4343 - reload logrotate
4444 - restart rsyslog
4545
46+ # # BOOKWORM
47+ - name : variable libre_python_binary
48+ set_fact :
49+ libre_python_binary : " {% if ansible_distribution_major_version|int >= 12 %}{{dstdir}}/venv/bin/python3{% else %}/usr/bin/python3{% endif %}"
50+ - name : Update python lib/package for venv
51+ pip :
52+ requirements : " {{dstdir}}/liberator/requirements.txt"
53+ virtualenv : " {{dstdir}}/venv"
54+ virtualenv_command : /usr/bin/python3 -m venv
55+ when : ansible_distribution_major_version|int >= 12
56+ # # BOOKWORM
57+
4658- name : Install specified python requirements
4759 pip :
4860 requirements : " {{dstdir}}/liberator/requirements.txt"
4961 executable : pip3
62+ when : ansible_distribution_major_version|int < 12
5063
5164- name : Create a directory if it does not exist
5265 file :
Original file line number Diff line number Diff line change 6969 - python3-pip
7070 - python3
7171 - python3-dev
72- - python-setuptools
72+ - python3-venv
7373 - liblua5.2-dev
7474 - lua5.2
7575 - luarocks
7676 state : latest
77+
78+ - name : Install essential/extend packages
79+ apt :
80+ pkg :
81+ - python-setuptools
82+ state : latest
83+ when : libre_debian_version != "bookworm"
7784
7885- name : Enable and start chronyd
7986 systemd :
Original file line number Diff line number Diff line change 1- requests == 2.32.2
2- fastapi == 0.110.3
1+ requests == 2.32.3
2+ fastapi == 0.114.2
33typing == 3.7.4.1
44pydantic == 1.10.15
5- uvicorn == 0.11.7
5+ uvicorn == 0.30.6
66Jinja2 == 3.1.4
77aiofiles == 0.5.0
8- redis == 4.4.4
8+ redis == 5.0.8
99contextvars == 2.4
1010schedule == 0.6.0
1111redfs == 0.0.4rc0
12- validators == 0.18.2
12+ validators == 0.34.0
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ User=root
99Group =root
1010EnvironmentFile ={{dstdir}}/libre.env
1111WorkingDirectory ={{dstdir}}/liberator
12- ExecStart =/usr/bin/python3 {{dstdir}}/liberator/main.py
12+ ExecStart ={{libre_python_binary}} {{dstdir}}/liberator/main.py
1313
1414SyslogIdentifier =libresbc
1515SyslogFacility =5
You can’t perform that action at this time.
0 commit comments