This playbook will install Drupal and CiviCRM via Ansible on a given Ubuntu server.
- The presumption is that we're running the installation on an Ubuntu 16.04 Server EC2 instance.
- You'll find all the necessary passwords in the
roles/install.civicrm/vars/main.yml
, after you decrypt it. - Replace the value for
private_key_file
inansible.cfg
with your own private key, generated when creating a new EC2 instance. - Also replace the host used in the
hosts
file.
- Create a file called
.vaultpass
containing the provided password in the current directory. - Copy the
server-prerequisites.sh
onto your server and run it to install the needed packages. - Run the playbook
ansible-playbook install-civicrm.yml
To clean up everything run ~/uninstall.sh
.
- Research for Galaxy roles that might help me.
- Set up two playbooks for installing and removing CiviCRM.
- Create the remove CiviCRM role.
- Create the install CiviCRM role.
- Add an outline of what needs to be done for install.civicrm.
- Implement the tasks/handlers/etc. needed for installation.
- Install Nginx
- Securely add SSL certs
- Store credentials securely in a vault.
- Install and secure Mysql.
- Create the users and databases for Drupal and CiviCRM.
- Use stronger passwords.
- Install Drupal via drush and manual guide.
- Automate the installation of Drupal.
- Install CiviCRM manually.
- Automate the installation of CiviCRM.
- Install and setup the Backup module.
- Automate the installation of the Backup module.
- Add instructions for the playbook.