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

Delineate sections in 336-line freepbx.yml

This commit is contained in:
root 2022-05-26 02:06:14 -04:00
parent 1f2eab54f4
commit 066837fe16

View file

@ -66,6 +66,7 @@
include_tasks: apache.yml
when: pbx_use_apache
# - name: FreePBX - Download {{ freepbx_url }}/{{ freepbx_src_file }} to {{ downloads_dir }}
# get_url:
# url: "{{ freepbx_url }}/{{ freepbx_src_file }}"
@ -104,6 +105,7 @@
depth: 1
force: yes
# No longer needed since approx 2022-01-31 / 2022-02-14, as confirmed by:
# https://github.com/FreePBX/framework/blob/release/16.0/install.php#L27
# https://github.com/FreePBX/framework/blob/release/16.0/installlib/installcommand.class.php#L300
@ -236,6 +238,7 @@
- ./install -n --webroot {{ freepbx_install_dir }} --dbuser {{ asterisk_db_user }} --dbpass {{ asterisk_db_password }}
# - ./install -n --webroot {{ freepbx_install_dir }} --dbuser {{ asterisk_db_user }} --dbpass {{ asterisk_db_password }} --dbname {{ asterisk_db_dbname }} --cdrdbname {{ asterisk_db_cdrdbname }}
# 2022-05-25 BACKGROUND: https://github.com/iiab/iiab/pull/3229#issuecomment-1138061460
- name: FreePBX - Revert the above just-installed FreePBX 'framework' module by a few weeks-or-so from GitHub's bleeding edge, to a more official version (which can help to install the ~15 modules below!)
command: fwconsole ma downloadinstall framework
@ -248,6 +251,7 @@
- name: FreePBX - Download + Install 15 additional FreePBX default modules (of about 70 total) as if we were installing freepbx-16.0-latest.tgz - THIS CAN TAKE SEVERAL MIN!
command: fwconsole ma downloadinstall callrecording cdr conferences core customappsreg dashboard featurecodeadmin infoservices logfiles music pm2 recordings sipsettings soundlang voicemail
- name: FreePBX - Run 'fwconsole stop', 'killall -9 safe_asterisk' to stop both main Asterisk processes - this avoids "Unable to run Pre-Asterisk hooks, because Asterisk is already running" in 'journalctl -u freepbx' logs
command: "{{ item }}"
with_items:
@ -284,7 +288,8 @@
src: freepbx.service
dest: /etc/systemd/system/
# Default module list https://github.com/iiab/iiab/pull/2916#issuecomment-894601522
# 2022-05-25: Replaced by 'fwconsole ma downloadinstall' commands above
# - name: FreePBX - Run 'fwconsole ma upgradeall' on installed FreePBX modules, e.g. 16 default modules (of about 70 total) - CAN TAKE 1 MIN OR LONGER!
# command: fwconsole ma upgradeall