For ubuntu 14.04 LTS
Run with:
ansible-playbook -i hosts webserver_for_magento.yml

Install:

  • perconaDB
  • Nginx (and copy virtualhost config for magento port frontend SSL 443 and backend 8080 & create symlink & copy php info file to www root)
  • Varnish (port 6081, and copy config)
  • php-fpm (and copy config to pool)
  • memcache
  • util (mc, htop, vim)