Skip to content

Latest commit

 

History

History
92 lines (57 loc) · 3.23 KB

README.md

File metadata and controls

92 lines (57 loc) · 3.23 KB

Ansible Role: DevShop Devmaster

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.

Requirements / Dependencies

This role depends on the following addiitonal roles:

See the DevShop Playbook.yml file for an example playbook.

Role Variables

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.

install.sh script

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.

Example 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

License

GPL-2

Author Information

Jon Pugh [email protected]