Project

General

Profile

Ansible for inherited sites » History » Version 2

Jon Goldberg, 04/17/2018 09:38 PM

1 1 Jon Goldberg
# Ansible for inherited sites
2
Because inherited/legacy sites weren't created by Ansible, we need to take additional steps to ensure we work properly with them.
3
4
* From the [Website List](https://crm.megaphonetech.com/website-list), make sure to fill in appropriate values in the *Overrides* section of the site.
5 2 Jon Goldberg
* If Ansible can't find passwords for various users, it will try to create them.  Use `pass insert` to fix this.  e.g.:
6 1 Jon Goldberg
7
```bash
8 2 Jon Goldberg
pass insert nwu/nwuserver/mysql/root #MySQL root password
9
pass insert nwu/nwuserver/borg/local #Passphrase for local borg repo
10
pass insert nwu/nwuserver/borg/remote #Passphrase for remote borg repo
11
pass insert nwu/nwuserver/nwu.org/mysql #CMS/CRM MySQL password - one per vhost
12
pass insert nwu/nwuserver/nwu.org/admin #CRM/CRM password for user "admin" - one per vhost
13
pass insert nwu/nwuserver/nwu.org/sitekey #CiviCRM site key - one per vhost
14 1 Jon Goldberg
```