mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
improve build debug install.sh and fix debian build
This commit is contained in:
parent
d755786857
commit
52a5c801e5
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user