Skip to content

njchen/ansible-drupal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ansible provisioning for Drupal

Latest Version Software License

Ansible provisioning for Drupal

This project provides Ansible provisinioning for easy/quick installation and configuration of a LAMP stack which supports Drupal 8. This ansible playbook has been generated via Phansible and tweaked.

Requirements

You will need a working installation of Vagrant and Ansible on your machine.

What is in the box?

Install

Clone this repository to your local machine (we assume you have a dedicated workspace folder at ~/Workspace refer to Vagrantfile to change this to a destination of your choice.)

Install Drupal first:

cd ~/Workspace
drush dl drupal

Change the pointer in the Vagrantfile to the folder where Drupal was installed:

config.vm.synced_folder "~/Workspace/drupal8", "/vagrant", type: "nfs"

Next, you should create a sites/default/files folder and copy example.settings.php to a new settings.php file. Make sure both are rewritable.

cd ~/Workspace
git clone https://github.com/netsensei/ansible-drupal ~/Workspace
cd ~/Workspace/ansible-drupal
vagrant up

Usage

Out of the box, NGinX listens on IP address 192.168.88.88. Alternatively, you could create an entry in your /etc/hosts file that points to drupal.app.

Open up your browser and navigate to either the IP address or the local domain. First time, you should be welcomed by the Drupal installer.

Database details:

  • User: Drupal
  • Password: Drupal
  • Database: Drupal

NFS issues

If you run into mounting shared folders issues on El Caption, here are some pointers:

  • Make sure you run Virtualbox 4.3. I've run into trouble with 5.x versions.
  • Make sure you've installed the VBox 4.3 guest additions.
  • Reboot your Mac entirely.
  • Destroy the entire vagrant box and build it again.

Documentation

Security

If you discover any security related, please email matthias@colada.be instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

About

Personal Ansible playbook for Drupal 8

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published