From acda24e46e907ae2cf17f27962fe97f977ed30a9 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Wed, 19 Mar 2014 15:06:46 +0200 Subject: [PATCH] ansible variables --- data/vagrant/cgrates_devel.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/data/vagrant/cgrates_devel.yml b/data/vagrant/cgrates_devel.yml index 700f13940..d5f75027b 100644 --- a/data/vagrant/cgrates_devel.yml +++ b/data/vagrant/cgrates_devel.yml @@ -57,11 +57,9 @@ - name: delete golang archive file: path=~/go1.2.linux-amd64.tar.gz state=absent - - name: add vars to bashrc - command: echo "export GOROOT=$HOME/go; export GOPATH=$HOME/code; export PATH=$PATH:$GOROOT/bin:$GOPATH/bin" >> ~/.bashrc - - name: add variables to variables /etc/profile - command: echo "export GOROOT=/home/vagrant/go; GOPATH=/home/vagrant/code; PATH=$PATH:$GOROOT/bin:$GOPATH/bin" >> /etc/profile + shell: echo 'export GOROOT=/home/vagrant/go GOPATH=/home/vagrant/code; export PATH=\$PATH:\$GOROOT/bin:\$GOPATH/bin' >> /etc/profile + sudo: yes - name: get cgrates shell: GOROOT=~/go GOPATH=~/code ~/go/bin/go get -u -v github.com/cgrates/cgrates