Browse Source

Fixed paths

Amended clone path and removed symbolic link
master
dave 10 months ago
parent
commit
3b3fa3bd3e
  1. 10
      root/pull.sh

10
root/pull.sh

@ -8,7 +8,7 @@ fi
#Clone ansible-playbook repo
if [ ! -d ~/git/ansible-fmb ]
then
git clone ssh://git@config.tombstones.org.uk:22022/tombstones/ansible-fmb.git ~/git/ansible-fmb
git clone deploy:/tombstones/ansible-fmb.git ~/git/ansible-fmb
#Pull most recent updates ansible-playbook repo
elif [ -d ~/git/ansible-fmb ]
@ -16,11 +16,3 @@ then
cd ~/git/ansible-fmb && git pull
fi
#Create symlink for ansible-playbook run
if [ -f ~/git/ansible-fmb/shscripts/site.sh ]
then
if [ ! -L ~/bin/site.sh ]
then
ln -s ~/git/ansible-fmb/shscripts/site.sh ~/bin/site.sh
fi
fi

Loading…
Cancel
Save