Switch back to ansible PPA for initial install.

This commit is contained in:
Buster Silver 2016-10-10 02:07:33 -05:00
parent 45219aecc4
commit 143d16a418
2 changed files with 10 additions and 4 deletions

View File

@ -19,11 +19,13 @@ echo Checking for Ansible: $PKG_OK
if [ "" == "$PKG_OK" ]; then
sudo apt-get update
sudo apt-get install -q -y software-properties-common
sudo add-apt-repository -y ppa:ansible/ansible
sudo add-apt-repository -y ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install -q -y python2.7 python-pip python-mysqldb
sudo pip install --upgrade pip ansible
sudo apt-get install -q -y python2.7 python-pip python-mysqldb ansible
sudo pip install --upgrade pip
fi
APP_ENV="${APP_ENV:-production}"

View File

@ -18,8 +18,12 @@ sudo apt-get install -q -y software-properties-common
sudo add-apt-repository -y ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install -q -y python2.7 python-pip python-mysqldb
sudo pip install --upgrade pip ansible
sudo add-apt-repository -y ppa:ansible/ansible
sudo add-apt-repository -y ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install -q -y python2.7 python-pip python-mysqldb ansible
sudo pip install --upgrade pip
cat > /home/ubuntu/.ansible.cfg <<EOF
[defaults]