mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
Update to 2022-03-09 17:00
This commit is contained in:
parent
cee8cde93c
commit
c659549619
@ -34,7 +34,7 @@ fpbx_voip_udp_ports:
|
|||||||
- '10000:20000' # RTP
|
- '10000:20000' # RTP
|
||||||
- 4520 # dundi
|
- 4520 # dundi
|
||||||
- 4569 # IAX2
|
- 4569 # IAX2
|
||||||
fpbx_prov_tcp_ports: [ 21 ]
|
fpbx_prov_tcp_ports: [ 21, '40000:40100' ]
|
||||||
fpbx_prov_udp_ports: [ 69 ]
|
fpbx_prov_udp_ports: [ 69 ]
|
||||||
fpbx_http_ports:
|
fpbx_http_ports:
|
||||||
- 80 # Normal HTTP
|
- 80 # Normal HTTP
|
||||||
|
@ -141,5 +141,5 @@
|
|||||||
|
|
||||||
# PM2 requires the php command available in PATH
|
# PM2 requires the php command available in PATH
|
||||||
- name: Add a link to php
|
- 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
|
tags: fpbx
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
restorecon -R {{ fpbx_root_dir }}
|
restorecon -R {{ fpbx_root_dir }}
|
||||||
chmod 755 {{ fpbx_root_dir }}
|
chmod 755 {{ fpbx_root_dir }}
|
||||||
chown root:root {{ fpbx_root_dir }}/{meta,db_dumps}
|
chown root:root {{ fpbx_root_dir }}/{meta,backup}
|
||||||
chmod 700 {{ fpbx_root_dir }}/{meta,db_dumps}
|
chmod 700 {{ fpbx_root_dir }}/{meta,backup}
|
||||||
setfacl -k -b {{ fpbx_root_dir }}
|
setfacl -k -b {{ fpbx_root_dir }}
|
||||||
setfacl -m u:asterisk:rx,u:{{ httpd_user | default('apache') }}:rx {{ 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
|
chown -R root:root {{ fpbx_root_dir }}/web
|
||||||
|
Loading…
x
Reference in New Issue
Block a user