Actions
Deploying with Ansible » History » Revision 1
Revision 1/2
| Next »
Jon Goldberg, 09/04/2018 06:46 PM
Deploying with Ansible¶
Ansible with multisite CiviCRM¶
Our configuration supports CiviCRM multisite where there are multiple CMSes and a single CiviCRM database. To deploy in this configuration:
- Add the first site to the [[https://crm.megaphonetech.com/website-list]] and install normally.
- Once installation on site 1 is complete, install the Multisite Permissioning extension and create the database records for site 2.
- Add the second site to the [[https://crm.megaphonetech.com/website-list]] and install normally, ignoring multisite. Note that you'll probably need to override the DB User, CMS DB Name and CRM DB Name to prevent collisions with site 1.
- Once the site is up and running, open the entry in the website list, go to Overrides, and make the following changes:
- Change the "Multisite Domain ID" to
2
. - Change the "CRM DB Name" to match that of site 1. Leave the "CMS DB Name" and "DB User" different from site 1.
- Change the "Multisite Domain ID" to
- Re-run Ansible.
- Drop the CRM database created for site 2.
- Repeat as necessary for other sites.
Updated by Jon Goldberg over 6 years ago · 1 revisions