Installs SuiteCRM MAX edition using Nginx.
This role was created on/for Ubuntu Trusty installations and was specifically tested in an OpenVZ container environment.
You must download the SuiteCRM-7.1.2-MAX.zip file from the SuiteCRM site and place it in files/ before using this role. SuiteCRM requires registration and login to download files.
The role uses the following variables, set in the defaults/main.yml file:
suitecrm_version
- Specific version of SuiteCRM to install (defaults to 7.1.5)suitecrm_install_dir
- Directory to install SuiteCRM (defaults to /var/www)suitecrm_frontend_host
- Hostname of SuiteCRM install (defaults to localhost)suitecrm_database_host
- Hostname of MySQL database (defaults to localhost)suitecrm_database_user
- SuiteCRM database username (defaults to suitecrm_admin)suitecrm_database_password
- SuiteCRM database user password (defaults to ise982nxk)suitecrm_timezone
- SuiteCRM server timezone (defaults to America/Los_Angeles)
Depends on the Ansibles.mysql role. See "Requirements" section for file dependencies.
ansible-galaxy install Dhar.suitecrm
Also check the Ansible Galaxy about page.
Example playbook for installing SuiteCRM database and web servers on separate systems:
---
- hosts: crm-db
roles:
- { role: Ansibles.mysql, mysql_users: [{name: "{{ suitecrm_database_user }}", pass: "{{ suitecrm_database_password }}", host: "{{ suitecrm_frontend_host }}", priv: "*.*:ALL"}]}
- hosts: crm-fe
roles:
- { role: ansible-suitecrm }
MIT
Gary Arnold