Many companies like the functionality of Slack, but do not want to lose out on the privacy that an on-premises service gives you when using Slack. Rocket Chat is an open source software solution that implements most of the features of Slack, as well as the majority of its interface. Being open source, every company can install it on-premises and manage it in a way that is compliant with their IT rules.
As Rocket Chat's goal is to be a drop-in replacement for Slack, from our point of view, very few changes need to be done. In fact, we can create the uptime_and_rocket.yaml file with the following content:
---
- hosts: localhost
connection: local
tasks:
- name: Read the machine uptime
command: 'uptime -p'
register: uptime
- name: Send the uptime to rocketchat channel
rocketchat:
token: TOKEN
domain: chat.example...