diff --git a/data/vagrant/Vagrantfile b/data/vagrant/Vagrantfile index 280c6a8a2..6dca8cb35 100644 --- a/data/vagrant/Vagrantfile +++ b/data/vagrant/Vagrantfile @@ -59,6 +59,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # information on available options. config.vm.provision "ansible" do |ansible| ansible.playbook = "ansible_golang_release.yml" - ansible.verbose = "vvvv" + #ansible.verbose = "vvvv" end end diff --git a/data/vagrant/ansible_golang_release.yml b/data/vagrant/ansible_golang_release.yml index 429076b86..bada28d4e 100644 --- a/data/vagrant/ansible_golang_release.yml +++ b/data/vagrant/ansible_golang_release.yml @@ -64,8 +64,5 @@ - name: copy bashrc copy: src=bashrc dest=~/.bashrc - - name: echo - command: echo $GOROOT; echo $GOPATH - - name: get cgrates - shell: ~/go/bin/go get -u -v github.com/cgrates/cgrates + shell: GOROOT=~/go GOPATH=~/go_home ~/go/bin/go get -u -v github.com/cgrates/cgrates diff --git a/data/vagrant/bashrc b/data/vagrant/bashrc index f5ce2db65..5695ae03e 100644 --- a/data/vagrant/bashrc +++ b/data/vagrant/bashrc @@ -110,6 +110,6 @@ if ! shopt -oq posix; then fi export GOROOT=$HOME/go -export GOPATH=$HOME/gopath +export GOPATH=$HOME/go_home export PATH=$PATH:$GOROOT/bin:$GOPATH/bin