Prepares a server for hosting Drupal with the DevShop system.
Devmaster is the Drupal install profile that serves as the web and REST interface for DevShop.
The Drupal code for Devmaster is located at drupal.org/project/devmaster.
This role depends on the following addiitonal roles:
- opendevshop.users
- opendevshop.apache
- geerlingguy.composer
- geerlingguy.php
- geerlingguy.php-mysql
- geerlingguy.mysql
See the DevShop Playbook.yml file for an example playbook.
Available variables are listed below, along with default values (see defaults/main.yml
):
server_hostname: local.devshop.site
The hostname to set for this server. The hostname should match a fully-qualified domain name that will resolve to the server you are using.
If using the install.sh script, this variable is either set from the --hostname
option, or automatically detected from the hostname -f
command.
NOTE: You could use Ansible to create the DNS records with your own playbook. See DNSimple, DigitalOcean Domains, or Route53, Azure DNS, or other Ansible modules.
devshop_devmaster_email: [email protected]
The email address to use for the Devmaster Dashboard user account #1. Default to [email protected]
devshop_cli_repo: http://github.com/opendevshop/devshop.git
The git repository to use for the CLI and Ansible roles data.
devshop_cli_path: /usr/share/devshop
The path to install the CLI code to.
devshop_cli_skip_update: true
Set to "true" to block updating the devshop_cli_path
to the devshop_version
.
The recommended way to install DevShop is with the install.sh
script, but these roles also work if the variables are set correctly.
The install script prepares certain variables and runs this playbook.
The devshop install.sh script uses this playbook.yml file:
##
# DevShop: DevMaster Server with Apache
#
---
- hosts: all
user: root
roles:
- opendevshop.users
- opendevshop.apache
- geerlingguy.php
- geerlingguy.php-mysql
- geerlingguy.composer
- opendevshop.devmaster
GPL-2
Jon Pugh [email protected]