mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Remove "| bool" 1.5yrs later, as Ansible 2.10 changed conditional_bare_variables default
This commit is contained in:
parent
2968a8a20e
commit
ca171fbc1c
158 changed files with 2072 additions and 2072 deletions
|
|
@ -6,7 +6,7 @@
|
|||
url: "{{ asterisk_url }}/{{ asterisk_src_file }}"
|
||||
dest: "{{ downloads_dir }}/{{ asterisk_src_file }}"
|
||||
timeout: "{{ download_timeout }}"
|
||||
when: internet_available | bool
|
||||
when: internet_available
|
||||
|
||||
- name: Asterisk - Check for /opt/iiab/downloads/{{ asterisk_src_file }}
|
||||
stat:
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
url: "{{ chan_dongle_url }}/{{ chan_dongle_src_file }}"
|
||||
dest: "{{ downloads_dir }}/{{ chan_dongle_src_file }}"
|
||||
timeout: "{{ download_timeout }}"
|
||||
when: internet_available | bool
|
||||
when: internet_available
|
||||
|
||||
- name: chan_dongle - Check for /opt/iiab/downloads/{{ chan_dongle_src_file }}
|
||||
stat:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
url: "{{ freepbx_url }}/{{ freepbx_src_file }}"
|
||||
dest: "{{ downloads_dir }}/{{ freepbx_src_file }}"
|
||||
timeout: "{{ download_timeout }}"
|
||||
when: internet_available | bool
|
||||
when: internet_available
|
||||
|
||||
- name: FreePBX - Check for {{ downloads_dir }}/{{ freepbx_src_file }}
|
||||
stat:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
name: freepbx
|
||||
enabled: yes
|
||||
state: restarted
|
||||
when: pbx_enabled | bool
|
||||
when: pbx_enabled
|
||||
|
||||
- name: FreePBX - Disable & Stop 'freepbx' systemd service (if not pbx_enabled)
|
||||
systemd:
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
- name: FreePBX - Enable http://box:{{ pbx_http_port }} via Apache, if pbx_enabled # http://box:83
|
||||
command: a2ensite freepbx.conf
|
||||
when: pbx_enabled | bool
|
||||
when: pbx_enabled
|
||||
|
||||
- name: FreePBX - Disable http://box:{{ pbx_http_port }} via Apache, if not pbx_enabled # http://box:83
|
||||
command: a2dissite freepbx.conf
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
- name: Asterisk - Install chan_dongle
|
||||
include: chan_dongle.yml
|
||||
when: asterisk_chan_dongle | bool
|
||||
when: asterisk_chan_dongle
|
||||
|
||||
- name: Add 'pbx' variable values to {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue