Skip to content

interviews-yoyosan/compucorp-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CiviCRM via Ansible

This playbook will install Drupal and CiviCRM via Ansible on a given Ubuntu server.

How to use it

  • 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 in ansible.cfg with your own private key, generated when creating a new EC2 instance.
  • Also replace the host used in the hosts file.

Installation

  1. Create a file called .vaultpass containing the provided password in the current directory.
  2. Copy the server-prerequisites.sh onto your server and run it to install the needed packages.
  3. Run the playbook
ansible-playbook install-civicrm.yml

Clean up

To clean up everything run ~/uninstall.sh.

Tasks

  • 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.

About

Ansible roles for the CompuCorp interview.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages