mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #2901 from holta/asterisk-lint
Lint pbx/tasks/asterisk.yml to a common baseline, as Apache extrication/isolation work continues
This commit is contained in:
commit
5e7787c0e5
1 changed files with 18 additions and 18 deletions
|
@ -33,10 +33,10 @@
|
|||
creates: "{{ asterisk_src_dir }}/Makefile"
|
||||
|
||||
- name: Asterisk - Download mp3 decoder library into source tree
|
||||
command: "./contrib/scripts/get_mp3_source.sh"
|
||||
command: ./contrib/scripts/get_mp3_source.sh
|
||||
args:
|
||||
chdir: "{{ asterisk_src_dir }}"
|
||||
creates: "addons/mp3/mpg123.h"
|
||||
creates: addons/mp3/mpg123.h
|
||||
|
||||
- name: Asterisk - Install aptitude (otherwise install_prereq fails?)
|
||||
package:
|
||||
|
@ -49,15 +49,15 @@
|
|||
chdir: "{{ asterisk_src_dir }}"
|
||||
|
||||
- name: Asterisk - Run the configure script
|
||||
command: "./configure --with-jansson-bundled"
|
||||
command: ./configure --with-jansson-bundled
|
||||
args:
|
||||
chdir: "{{ asterisk_src_dir }}"
|
||||
|
||||
- name: Asterisk - Run make menuselect.makeopts
|
||||
command: "make menuselect.makeopts"
|
||||
command: make menuselect.makeopts
|
||||
args:
|
||||
chdir: "{{ asterisk_src_dir }}"
|
||||
creates: "menuselect.makeopts"
|
||||
creates: menuselect.makeopts
|
||||
|
||||
- name: Asterisk - Do a bit of menuselect configuration
|
||||
command: >
|
||||
|
@ -72,13 +72,13 @@
|
|||
command: make
|
||||
args:
|
||||
chdir: "{{ asterisk_src_dir }}"
|
||||
creates: "defaults.h"
|
||||
creates: defaults.h
|
||||
|
||||
- name: Asterisk - Run 'make install' - CAN TAKE 2 MIN OR LONGER!
|
||||
command: make install
|
||||
args:
|
||||
chdir: "{{ asterisk_src_dir }}"
|
||||
creates: "/usr/sbin/asterisk"
|
||||
creates: /usr/sbin/asterisk
|
||||
|
||||
- name: Asterisk - Run 'make config'
|
||||
command: make config
|
||||
|
@ -105,11 +105,11 @@
|
|||
name: asterisk
|
||||
group: asterisk
|
||||
groups: audio,dialout
|
||||
home: "/var/lib/asterisk"
|
||||
home: /var/lib/asterisk
|
||||
system: yes
|
||||
append: yes
|
||||
|
||||
- name: 'Asterisk - Set ownership of 5 directories: /etc/asterisk, /var/lib/asterisk, /var/log/asterisk, /var/spool/asterisk, /usr/lib/asterisk'
|
||||
- name: "Asterisk - Set ownership of 5 directories: /etc/asterisk, /var/lib/asterisk, /var/log/asterisk, /var/spool/asterisk, /usr/lib/asterisk (asterisk:asterisk)"
|
||||
file:
|
||||
dest: "{{ item }}"
|
||||
owner: asterisk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue