From 49abbb5315e980b6dd54b11818304d1d101c5757 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Sun, 23 Aug 2015 21:09:24 +1000 Subject: [PATCH] added libcurl4-openssl-dev to git compile for https:// URLs --- setup/raspberry-pi/ansible-playbook.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/setup/raspberry-pi/ansible-playbook.yaml b/setup/raspberry-pi/ansible-playbook.yaml index 20962696a..85d6df8f3 100644 --- a/setup/raspberry-pi/ansible-playbook.yaml +++ b/setup/raspberry-pi/ansible-playbook.yaml @@ -80,14 +80,19 @@ tags: jenkins - name: git | Install required packages for git compile - apt: name=gettext update_cache=yes state=latest + apt: name={{ item }} update_cache=yes state=latest + with_items: + - gettext + - libcurl4-openssl-dev tags: git - name: git | Download, compile and install git 2.5 - shell: curl https://www.kernel.org/pub/software/scm/git/git-2.5.0.tar.xz -O && \ + shell: rm -rf git-2.5.0* && \ + curl https://www.kernel.org/pub/software/scm/git/git-2.5.0.tar.xz -O && \ tar -xvf git-2.5.0.tar.xz && \ cd git-2.5.0/ && \ ./configure --prefix=/usr --with-gitconfig=/etc/gitconfig && \ make && \ - sudo make install + sudo make install && \ + rm -rf git-2.5.0* tags: git