Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
add support for configuring with DO installer
Browse files Browse the repository at this point in the history
 - DO installer will accept twilio and email settings
 - these are written by cloud-init setup
 - install script then copies the file into ansible/env_vars/example.yml before installing apostello
  • Loading branch information
monty5811 committed Nov 28, 2016
1 parent cf4f54c commit 9e2cbdc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/ansible_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ if [ ! -d 'apostello-install' ]; then
git clone https://github.com/monty5811/apostello.git apostello-install
cd apostello-install
git checkout $VERSION
if [ -f /home/apostello/custom_vars.yml ]; then
echo "Moving custom file into place"
mv /home/apostello/custom_vars.yml /home/apostello/apostello-install/ansible/env_vars/example.yml
fi
echo "Setting up virtualenv"
virtualenv venv --no-site-packages
./venv/bin/pip install -U pip
Expand Down

0 comments on commit 9e2cbdc

Please sign in to comment.