1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Move freepbx from being hosted at pbx.lan to <ip>:8888

This commit is contained in:
Anish Mangal 2019-06-20 04:30:55 +00:00
parent 4169db3080
commit 8a1094e964
7 changed files with 14 additions and 8 deletions

View file

@ -134,6 +134,12 @@
state: absent
when: not pbx_enabled
- name: FreePBX - Add {{ freepbx_http_port }} as a Listen directive to apache ports.conf
lineinfile:
path: /etc/apache2/ports.conf
line: "Listen {{ freepbx_http_port }}"
insertafter: Listen 80
- name: FreePBX - Restart Apache service ({{ apache_service }})
systemd:
name: "{{ apache_service }}" # httpd or apache2