mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
asterisk_installed
This commit is contained in:
parent
d72ada5248
commit
7f0365c2f2
2 changed files with 11 additions and 0 deletions
|
@ -186,3 +186,13 @@
|
|||
path: /etc/asterisk/asterisk.conf
|
||||
regexp: 'rungroup ='
|
||||
line: 'rungroup = asterisk'
|
||||
|
||||
- name: "Set 'asterisk_installed: True'"
|
||||
set_fact:
|
||||
asterisk_installed: True
|
||||
|
||||
- name: "Add 'asterisk_installed: True' to {{ iiab_state_file }}"
|
||||
lineinfile:
|
||||
path: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||
regexp: '^asterisk_installed'
|
||||
line: 'asterisk_installed: True'
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
|
||||
- name: Install Asterisk
|
||||
include_tasks: asterisk.yml
|
||||
when: asterisk_installed is undefined
|
||||
|
||||
- name: Install FreePBX
|
||||
include_tasks: freepbx.yml
|
||||
|
|
Loading…
Reference in a new issue