Ansible Playbook#
This 3 Nodes scenario can be installed using Ansible: you need to
setup a control node to run Ansible playbooks (please refer to section
Prepare the Ansible Environment, then follow the directions on setting up
the control node). To access the control node, execute the following
command to log in (replace mail.example.com
with the name or IP of
the control node)
$ ssh root@mail.example.com
$ ssh -A root@mail.example.com
After you have logged in to the control node, download the Ansible inventory (see below this paragraph), replace the FQDN and values present in the file according to your planned Carbonio infrastructure.
Before installing, make sure each Node satisfies the Requirements and you have carried out all Preliminaries tasks.
Inventory - “Essential” Scenario
[postgresServers]
srv1.example.com
[masterDirectoryServers]
srv1.example.com
[replicaDirectoryServers]
[serviceDiscoverServers]
srv1.example.com
### This Role is no longer required since Carbonio 24.12.0
[dbsConnectorServers]
[mtaServers]
srv2.example.com
[proxyServers]
srv2.example.com
[proxyServers:vars]
webmailHostname=YourWebmailPublicHostname
[applicationServers]
srv3.example.com
[filesServers]
[docsServers]
[taskServers]
[previewServers]
[videoServers]
[prometheusServers]
srv1.example.com
[syslogServer]
srv1.example.com
Once you edited the inventory, save it in a directory of your choice
as carbonio-inventory
. Now, you can run the script:
from that directory execute the command
$ ansible-playbook zxbot.carbonio_install.carbonio_install \
-u root -i carbonio-inventory