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

Lint pbx/tasks/asterisk.yml to a common baseline, as Apache extrication/isolation works continues

This commit is contained in:
A Holt 2021-08-03 11:51:51 -04:00 committed by GitHub
parent 3d76c51d3f
commit 61b4d76c74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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