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

Add support for debian 9.7

This commit is contained in:
Anish Mangal 2019-02-07 14:11:19 +00:00
parent 425df6b4f0
commit 7b25c9958a
2 changed files with 3 additions and 4 deletions

View file

@ -49,10 +49,9 @@
chdir: "{{ asterisk_src_dir }}"
- name: Asterisk - Run the configure script
command: "./configure"
command: "./configure --with-jansson-bundled"
args:
chdir: "{{ asterisk_src_dir }}"
creates: "config.log"
- name: Asterisk - Run make menuselect.makeopts
command: "make menuselect.makeopts"

View file

@ -7,8 +7,8 @@
- name: Install asterisk
include_tasks: asterisk.yml
when: internet_available and is_ubuntu_18 and pbx_install and (not pbx_installed) and (not sugarizer_install) and (nodejs_version == "10.x")
when: internet_available and ((is_debian and ansible_distribution_major_version == "9") or is_ubuntu_18) and pbx_install and (not pbx_installed) and (nodejs_version == "10.x")
- name: Install freepbx
include_tasks: freepbx.yml
when: internet_available and is_ubuntu_18 and pbx_install and (not pbx_installed) and (not sugarizer_install) and (nodejs_version == "10.x")
when: internet_available and ((is_debian and ansible_distribution_major_version == "9") or is_ubuntu_18) and pbx_install and (not pbx_installed) and (nodejs_version == "10.x")