mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 15:48:44 +05:00
more ansible provision commands
This commit is contained in:
@@ -17,7 +17,10 @@
|
||||
- python-pycurl
|
||||
- python-mysqldb
|
||||
- mercurial
|
||||
|
||||
|
||||
- name: add cgrates user
|
||||
user: name=cgrates comment=CGRateS home=/var/run/cgrates shell=/bin/false system=yes
|
||||
|
||||
- name: add freeswitch gpg key
|
||||
command: gpg --keyserver pool.sks-keyservers.net --recv-key D76EDC7725E010CF
|
||||
|
||||
@@ -60,6 +63,16 @@
|
||||
- name: get cgrates
|
||||
shell: GOROOT=~/go GOPATH=~/code ~/go/bin/go get -u -v github.com/cgrates/cgrates
|
||||
|
||||
- name: create cgr-engine link
|
||||
file: src=/home/vagrant/code/bin/cgr-engine dest=/usr/bin/cgr-engine state=link
|
||||
sudo: yes
|
||||
|
||||
- name: expand freeswitch json conf
|
||||
command: tar -xzvf /usr/share/cgrates/tutorials/fs_json/freeswitch/etc/freeswitch_conf.tar.gz
|
||||
|
||||
- name: expand freeswitch csv conf
|
||||
command: tar -xzvf /usr/share/cgrates/tutorials/fs_csv/freeswitch/etc/freeswitch_conf.tar.gz
|
||||
|
||||
- name: create a link to data dir
|
||||
sudo: yes
|
||||
file: src=/home/vagrant/code/src/github.com/cgrates/cgrates/data dest=/usr/share/cgrates state=link
|
||||
|
||||
Reference in New Issue
Block a user