Last active
April 24, 2021 22:37
-
-
Save matsuu/d415980d81f31fad7e5788602482b833 to your computer and use it in GitHub Desktop.
isucon10-qualify provisioning script
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/sh | |
set -e | |
export DEBIAN_FRONTEND=noninteractive | |
apt-get update | |
apt-get install -y --no-install-recommends ansible git | |
GITDIR="/tmp/isucon10-qualify-base" | |
rm -rf ${GITDIR} | |
git clone https://github.com/isucon/isucon10-qualify.git ${GITDIR} | |
( | |
cd ${GITDIR}/provisioning/ansible | |
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ansible-playbook -i allinone, --connection=local allinone.yaml | |
) | |
rm -rf ${GITDIR} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment