Some ansible playbooks to manage the things
- Generate your first instance at exoscale.ch (I use debian Linux)
- Login with you SSH Keypair, as root
- execute the following commands :
apt-get update && apt-get dist-upgrade -y
dpkg-reconfigure --priority=low unattended-upgrades
service unattended-upgrades restart
apt-get install git ntp fail2ban -y
echo "Europe/Zurich" | tee /etc/timezone && dpkg-reconfigure --frontend noninteractive tzdata
git config --global push.default simple
git config --global user.email <insert your email address here
git config --global user.name "<insert your full name here>"
git clone git@github.com:SebastienPittet/config-files.git
cd config-files
cp .bash* ~
cp ./etc/ssh/* /etc/ssh/
cp ./etc/fail2ban/* /etc/fail2ban/
cp ./etc/ntp.conf /etc/
service sshd restart
service fail2ban restart
service ntp restart
easy_install pip
pip install ansible
git clone git@github.com:SebastienPittet/ansible-exoscale.git
cd ansible-exoscale
ansible-playbook create-web-server