1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

roles/pbx/tasks/freepbx.yml: Fix & clean Ansible output

This commit is contained in:
A Holt 2021-11-06 11:12:25 -04:00 committed by GitHub
parent 7a4b016719
commit 463cf892f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,13 +96,13 @@
extra_opts: [--strip-components=1]
creates: "{{ freepbx_src_dir }}/install"
- name: 2021-11-06: TEMPORARILY force FreePBX 16 to work with Asterisk 19 -- patch /opt/iiab/freepbx/install.php
- name: "FreePBX - 2021-11-06: TEMPORARILY force FreePBX 16 to work with Asterisk 19 - patch /opt/iiab/freepbx/install.php"
replace:
path: /opt/iiab/freepbx/install.php
regexp: 'version_compare\(\$astversion, "19", "ge"\)\) \{$'
replace: 'version_compare($astversion, "20", "ge")) {'
- name: 2021-11-06: TEMPORARILY force FreePBX 16 to work with Asterisk 19 -- patch /opt/iiab/freepbx/installlib/installcommand.class.php
- name: "FreePBX - 2021-11-06: TEMPORARILY force FreePBX 16 to work with Asterisk 19 - patch /opt/iiab/freepbx/installlib/installcommand.class.php"
replace:
path: /opt/iiab/freepbx/installlib/installcommand.class.php
regexp: 'version_compare\(\$astversion, "19", "ge"\)\) \{$'