Real-time conversations with your colleagues, other companies or customers.
Rocket.Chat does everything other platforms do, except exposing your data.
- Ubuntu Server 20.04
- Ansible 2.9.6
Define the variables on inventory.yml as per your needs
Change variables on inventory.yml
ansible_host: '<hostname>'
username: '<username>'
domain_name: '<domain-name>'Ansible connection can be set as local or ssh
ansible_connection: '<connection>'SSH private key file needs to be defined when using ssh connection
ansible_ssh_private_key_file: /path/to/your/ssh-keyInstall ansible in your system
sudo apt -y install ansibleansible version 2.9.6
Change ssh-key permissions
chmod 400 ~/.ssh/<ssh-key>Configure ssh config file
touch ~/.ssh/config
chmod 600 ~/.ssh/configSSH config file sample
Host alias
HostName <ip-address>
User <username>
Port 22
IdentityFile ~/.ssh/<ssh-key>Install rocketchat on ubuntu server 20.04, add flag -K in case the user has a password
ansible-playbook -i inventory.yml rocketchat.ymlAccess rocketchat localhost:3000 or hostname:3000
It may take a few seconds or minutes to load
Using tags helps to define which roles will be selected or skipped
Run only tags with tags node and rocketchat
ansible-playbook -i inventory.yml rocketchat.yml --tags "node,rocketchat"Run all tasks except those with the tags common and mongodb
ansible-playbook -i inventory.yml rocketchat.yml --skip-tags "common,mongodb"