Skip to content

vold-lu/ansible-dolibarr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible playbook for Dolibarr

This playbook allows easy setup of Dolibarr using Ansible. The playbook will install Dolibarr directly from the Git repository.

How to use it?

Configure the server and install Dolibarr using the playbook

# Clone the repository
git clone https://github.com/vold-lu/ansible-dolibarr.git
cd ansible-dolibarr

# Install the used ansible collections
ansible-galaxy install -r requirements.yml

# Create the inventory file (replace 127.0.0.1 by your host IP address)
echo '127.0.0.1' >> .inventory

# Run the playbook against the inventory
ansible-playbook -i .inventory dolibarr.yml --extra-vars "app_url=dolibarr.mycompany.com"

# You can also clone a custom Dolibarr repository and/or on a specific branch
ansible-playbook -i .inventory dolibarr.yml --extra-vars "app_url=dolibarr.mycompany.com git_url=https://github.com/mycompany/dolibarr.git git_branch=15.0"

Perform the settings

Head out to https://dolibarr.mycompany.com/install and finalize the setup.

Enable auto SSL certificate generation (Lets Encrypt)

certbot --nginx -d dolibarr.mycompany.com

Releases

No releases published

Packages

No packages published