This guide installs a YetiForce CRM stack with Apache, PHP, and MariaDB.
It supports Debian 10 to latest stable, Ubuntu LTS, and RHEL 9+ compatible systems.
- name: Install YetiForce CRM
hosts: yetiforce
become: true
vars:
yetiforce_webroot: /var/www/yetiforce
yetiforce_version: "7.0.0"
tasks:
- name: Install dependencies on Debian/Ubuntu
apt:
name:
- apache2
- mariadb-server
- php
- php-mysql
- php-mbstring
- php-xml
- php-curl
- php-zip
- php-gd
- php-intl
- unzip
- wget
- curl
- git
state: present
update_cache: true
when: ansible_os_family == "Debian"
- name: Install dependencies on RHEL family
dnf:
name:
- httpd
- mariadb-server
- php
- php-mysqlnd
- php-mbstring
- php-xml
- php-curl
- php-zip
- php-gd
- php-intl
- unzip
- wget
- curl
- git
state: present
when: ansible_os_family == "RedHat"
- name: Enable and start required services
service:
name: "{{ item }}"
state: started
enabled: true
loop:
- "{{ 'apache2' if ansible_os_family == 'Debian' else 'httpd' }}"
- mariadb
- name: Create YetiForce web root
file:
path: "{{ yetiforce_webroot }}"
state: directory
mode: "0755"
- name: Download YetiForce package
get_url:
url: "https://github.com/YetiForceCompany/YetiForceCRM/releases/download/{{ yetiforce_version }}/YetiForceCRM-{{ yetiforce_version }}-complete.zip"
dest: /tmp/yetiforce.zip
mode: "0644"
- name: Extract YetiForce package
unarchive:
src: /tmp/yetiforce.zip
dest: "{{ yetiforce_webroot }}"
remote_src: true
Any questions?
Feel free to contact us. Find all contact information on our contact page.