Update to 2022-03-09 17:00

This commit is contained in:
Daniel Berteaud 2022-03-09 17:00:06 +01:00
parent cee8cde93c
commit c659549619
3 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ fpbx_voip_udp_ports:
- '10000:20000' # RTP
- 4520 # dundi
- 4569 # IAX2
fpbx_prov_tcp_ports: [ 21 ]
fpbx_prov_tcp_ports: [ 21, '40000:40100' ]
fpbx_prov_udp_ports: [ 69 ]
fpbx_http_ports:
- 80 # Normal HTTP

View File

@ -141,5 +141,5 @@
# PM2 requires the php command available in PATH
- name: Add a link to php
file: src=/bin/php{{ fpbx_php_version }} dest=/var/lib/asterisk/.node/bin/php state=link
file: src=/bin/php{{ fpbx_php_version }} dest=/usr/local/bin/php state=link
tags: fpbx

View File

@ -2,8 +2,8 @@
restorecon -R {{ fpbx_root_dir }}
chmod 755 {{ fpbx_root_dir }}
chown root:root {{ fpbx_root_dir }}/{meta,db_dumps}
chmod 700 {{ fpbx_root_dir }}/{meta,db_dumps}
chown root:root {{ fpbx_root_dir }}/{meta,backup}
chmod 700 {{ fpbx_root_dir }}/{meta,backup}
setfacl -k -b {{ fpbx_root_dir }}
setfacl -m u:asterisk:rx,u:{{ httpd_user | default('apache') }}:rx {{ fpbx_root_dir }}
chown -R root:root {{ fpbx_root_dir }}/web