---

- name: Create a virtual machine
  connection: local
  hosts: localhost
  sudo: true
  vars:
    - ES_VER: "1.6.0"
    - ES_SHORT_VER: "1.6"
    - ES_MAPPER_ATTACHMENTS_VER: "2.6.0"
    - ES_TRANSPORT_MEMCACHED_VER: "2.6.0"
    - ES_TRANSPORT_THRIFT_VER: "2.6.0"
    - ES_GEOCLUSTER_FACET_VER: "0.0.12"
    - ES_IMAGE_PLUGIN_VER: "1.4.0"
    - ES_PROJECT_ROOT: "{{ lookup('env', 'ES_PROJECT_ROOT') }}"
  roles:
    - base
    - elasticsearch
    - nginx
    - php
