diff --git a/docker/debian/Dockerfile b/docker/debian/Dockerfile index fbd30eb..b1554d3 100644 --- a/docker/debian/Dockerfile +++ b/docker/debian/Dockerfile @@ -20,7 +20,7 @@ ENV PATH="${PATH}:/usr/bin/core_perl" # Project deps RUN echo 'deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main' >> /etc/apt/sources.list \ && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 -RUN apt-get install -y \ +RUN apt-get update && apt-get install -y \ ansible \ git # Create test user diff --git a/install.sh b/install.sh index 65af326..d94cf60 100755 --- a/install.sh +++ b/install.sh @@ -32,5 +32,5 @@ ok=${ok:-Y} if [[ "$ok" == "Y" ]] then echo "### RUN ####################################################################" - ansible-playbook -i "localhost," -c local install.yml --ask-become-pass -t $1 + ansible-playbook -i "localhost," -c local install.yml --ask-become-pass -t $1 || exit 1 fi