opendevshop.devmaster
Ansible Role: DevShop Devmaster
This role sets up a server to host Drupal using the DevShop system.
Devmaster is the part of Drupal that acts as the web and REST interface for DevShop.
You can find the Drupal code for Devmaster at drupal.org/project/devmaster.
Requirements / Dependencies
This role needs the following additional roles:
- opendevshop.users
- opendevshop.apache
- geerlingguy.composer
- geerlingguy.php
- geerlingguy.php-mysql
- geerlingguy.mysql
You can check the example playbook in the DevShop Playbook.yml file.
Role Variables
Here are the variables you can use, along with their default values (see defaults/main.yml
):
server_hostname:
local.devshop.site
The name of the server, which should be a valid domain name that points to your server.If you use the
install.sh
script, this can be set using the--hostname
option or detected automatically using the commandhostname -f
.NOTE: You can use Ansible to create DNS records with your own playbook. Check out DNSimple, DigitalOcean Domains, or Route53, Azure DNS, or other Ansible modules.
devshop_devmaster_email:
[email protected]
The email address for the main Devmaster Dashboard user account. Defaults to[email protected]
.devshop_cli_repo:
http://github.com/opendevshop/devshop.git
The Git repository for the CLI and Ansible roles data.devshop_cli_path:
/usr/share/devshop
The folder to install the CLI code.devshop_cli_skip_update:
true
Set to "true" to prevent updating thedevshop_cli_path
to thedevshop_version
.
install.sh Script
The best way to install DevShop is by using the install.sh script, but these roles can work too if you set the variables correctly.
The install script sets up specific variables and runs this playbook.
Example Playbook
The 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
License
GPL-2
Author Information
Jon Pugh jon@thinkdrop.net
Installs a DevShop Master server
ansible-galaxy install opendevshop.devmaster