Created
May 15, 2016 14:32
-
-
Save arbabnazar/b00173242279b3552be3056df0d7d7eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get update | |
apt-get install -y libffi-dev g++ libssl-dev python-pip python-dev git | |
pip install -U awscli ansible setuptools | |
aws s3 cp s3://tendo-github-key-s3/git-private-key /root/.ssh/bitbucket_secret_key | |
chmod 400 /root/.ssh/bitbucket_secret_key | |
aws s3 cp s3://tendo-github-key-s3/bitbucket /root/.ssh/config | |
chmod 600 /root/.ssh/config | |
ansible-pull -d /root/playbooks -i 'localhost,' -U git@bitbucket.org:arbabnazar/pull-test.git --accept-host-key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment