From 143d16a41886ff58f984b04a530c76d1bb82dc2b Mon Sep 17 00:00:00 2001 From: Buster Silver Date: Mon, 10 Oct 2016 02:07:33 -0500 Subject: [PATCH] Switch back to ansible PPA for initial install. --- install.sh | 6 ++++-- util/ansible_setup.sh | 8 ++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 32b34b018..30e94b576 100644 --- a/install.sh +++ b/install.sh @@ -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}" diff --git a/util/ansible_setup.sh b/util/ansible_setup.sh index 03fb6968d..41527672a 100644 --- a/util/ansible_setup.sh +++ b/util/ansible_setup.sh @@ -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 <