This repository contains Ansible code to automatically install and upgrade Carbonio CE. The playbook simplifies and speeds up the process by making it consistent and less error-prone.
-
Ansible installed on the control machine.
-
SSH access to the target server using
rootor a user with sudo privileges. -
A properly configured inventory file for your nodes.
-
Support for Ubuntu 22/24 (RHEL 8/9 still on testing)
-
Edit the Inventory Prepare an inventory file (e.g.,
inventoryname) and adjust it according to your node setup.
For detailed guidance, check this article:
Preparing an Inventory for Carbonio with Ansible
-
Installation Command
ansible-playbook /zxbot/carbonio_install/playbooks/carbonio_install.yml -i inventoryname -u root-
Upgrade Command
ansible-playbook /zxbot/carbonio_install/playbooks/carbonio_upgrade.yml -i inventoryname -u root-
Wait for Completion The process will run automatically. Please make sure your connection is stable and the target servers meet the required specifications.
For detailed guidance, check this article:
Tips for Upgrading Carbonio Via Ansible
Here’s a simple example of how an inventory file might look:
[carbonio_mta]
mail1.example.com
[carbonio_proxy]
proxy1.example.com
[carbonio_db]
db1.example.com
[carbonio_app]
app1.example.comAdjust the hosts according to your environment.
-
Double-check your inventory file before running the playbook.
-
If an error occurs, verify your SSH connection and Ansible configuration.
-
This playbook is designed for Carbonio CE (Community Edition).
-
Original code by: Zextras Group
-
Edited and customized by: afatyo
This project is released under the GPL-3.0-only license. You are free to use, modify, and distribute it under the terms of this license.
See the LICENSE file for details.