mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 23:12:32 +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
|
# Project deps
|
||||||
RUN echo 'deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main' >> /etc/apt/sources.list \
|
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
|
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
|
||||||
RUN apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
ansible \
|
ansible \
|
||||||
git
|
git
|
||||||
# Create test user
|
# Create test user
|
||||||
|
@ -32,5 +32,5 @@ ok=${ok:-Y}
|
|||||||
if [[ "$ok" == "Y" ]]
|
if [[ "$ok" == "Y" ]]
|
||||||
then
|
then
|
||||||
echo "### RUN ####################################################################"
|
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
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user