Project

General

Profile

Ansible for inherited sites » History » Revision 2

Revision 1 (Jon Goldberg, 03/28/2018 01:59 PM) → Revision 2/5 (Jon Goldberg, 04/17/2018 09:38 PM)

# Ansible for inherited sites 
 Because inherited/legacy sites weren't created by Ansible, we need to take additional steps to ensure we work properly with them. 

 * From the [Website List](https://crm.megaphonetech.com/website-list), make sure to fill in appropriate values in the *Overrides* section of the site. 
 * If Ansible can't find passwords for various users, the MySQL user/admin user, it will try to create them.    Use `pass insert` to fix this.    e.g.: 

 ```bash 
 pass insert nwu/nwuserver/mysql/root #MySQL root password 
 pass insert nwu/nwuserver/borg/local #Passphrase for local borg repo 
 pass insert nwu/nwuserver/borg/remote #Passphrase for remote borg repo 
 pass insert nwu/nwuserver/nwu.org/mysql #CMS/CRM MySQL password - one per vhost 
 pass insert nwu/nwuserver/nwu.org/admin #CRM/CRM password for user "admin" - one per vhost 
 pass insert nwu/nwuserver/nwu.org/sitekey #CiviCRM site key - one per vhost 
 ```