Permalink
Browse files

Fixes #34: Update Drupal example.

  • Loading branch information...
1 parent 4ae1518 commit cbf1974ee0c84de29c5eca6dfb5d3c05515fe029 @geerlingguy committed Jul 3, 2016
Showing with 12 additions and 5 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 drupal/Vagrantfile
  3. +8 −2 drupal/provisioning/playbook.yml
  4. +2 −2 drupal/provisioning/vars.yml
View
@@ -2,3 +2,4 @@
.vagrant/
vagrant_ansible_inventory_default
*.cache
+*.retry
View
@@ -4,7 +4,7 @@
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
- config.vm.box = "geerlingguy/ubuntu1204"
+ config.vm.box = "geerlingguy/ubuntu1404"
config.vm.network :private_network, ip: "192.168.88.8"
config.ssh.insert_key = false
@@ -20,7 +20,7 @@
- python-pycurl
- name: Add ondrej repository for later versions of PHP.
- apt_repository: repo='ppa:ondrej/php5' update_cache=yes
+ apt_repository: repo='ppa:ondrej/php5-5.6' update_cache=yes
- name: "Install Apache, MySQL, PHP, and other dependencies."
apt: "name={{ item }} state=present"
@@ -37,7 +37,7 @@
- php5-gd
- php5-dev
- php5-mcrypt
- - php-apc
+ - php5-apcu
- php-pear
- python-mysqldb
- mysql-server
@@ -131,6 +131,12 @@
version: "{{ drupal_core_version }}"
dest: "{{ drupal_core_path }}"
+ - name: Install Drupal dependencies with Composer.
+ shell: >
+ /usr/local/bin/composer install
+ chdir={{ drupal_core_path }}
+ creates={{ drupal_core_path }}/sites/default/settings.php
+
- name: Install Drupal.
command: >
drush si -y --site-name="{{ drupal_site_name }}"
@@ -1,6 +1,6 @@
---
-# The core version you want to use (e.g. 6.x, 7.x, 8.0.x).
-drupal_core_version: "8.0.x"
+# The core version you want to use (e.g. 6.x, 7.x, 8.1.x).
+drupal_core_version: "8.1.x"
# The path where Drupal will be downloaded and installed.
drupal_core_path: "/var/www/drupal-{{ drupal_core_version }}-dev"

0 comments on commit cbf1974

Please sign in to comment.