No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Installs DurableDrupalDistro Distro

Ansible playbook for setting up a VM on your laptop or local workstation using Vagrant and VirtualBox for use with a project. Installs CLI and all dependencies, and creates a database and editable virtual host to run your project locally.

Once vagrant up is run (down below) provisioning has installed CLI, and you are all set to platform and project:get your project from, and you can build it locally with the following virutalhost and database:


<VirtualHost *:80>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/platformsh-vk-dev
    <Directory "/var/www/platformsh-vk-dev">
        Options FollowSymLinks Indexes
        AllowOverride All


$databases = array (
  'default' =>
  array (
    'default' =>
    array (
      'database' => 'platformshvk',
      'username' => 'root',
      'password' => '',
      'host' => 'localhost',
      'port' => '',
      'driver' => 'mysql',
      'prefix' => '',

These valaues are editable, see the playbook subdir

You can associate the URL with the IP specified in the Vagrantfile in your /etc/hosts file.

General Instructions

Use Jeff Geerling's Ansible for DevOps Drupal Quick Start Guide upon which this playbook is based.

  • Install VirtualBox and Vagrant (make sure Vagrant is version 1.6.5 or later)
  • Install Ansible
  • Clone this project to a folder where you keep your VMs
  • On the cammand-line in that folder, type vagrant up
  • The process will take a while, on my 4GB RAM MacBook Pro it took about 5 minutes. A large part of that is the provisioning of the LAMP stack together with the checking out and installation of drush and DurableDrupalDistro.
  • Associate with the private local machine ip set up by the Vagrantfile (
  • Point your browser at after editing virtual host for the docroot of your project.

The vagrant init was originally done with: $ vagrant init ubuntu/trusty64

Which created a new vagrant file based on the latest ubuntu image (see Vagrant & Ansible Quickstart Tutorial below)