diff --git a/docs/services/rumqttd.md b/docs/services/rumqttd.md new file mode 100644 index 0000000..44da4bd --- /dev/null +++ b/docs/services/rumqttd.md @@ -0,0 +1,37 @@ +# rumqttd + +[rumqttd](https://github.com/bytebeamio/rumqtt) is a high performance, embeddable [MQTT](https://en.wikipedia.org/wiki/MQTT) broker installed via [mother-of-all-self-hosting/ansible-role-rumqttd](https://github.com/mother-of-all-self-hosting/ansible-role-rumqttd). + + +# Configuring this role for your playbook + +## Dependencies + +This service does not require any dependecies. + +## Configuration + +To enable this service, add the following configuration to your `vars.yml` file and re-run the [installation](../installing.md) process: + +```yaml +######################################################################## +# # +# rumqttd # +# # +######################################################################## + + +rumqttd_enabled: true + + +######################################################################## +# # +# /rumqttd # +# # +######################################################################## +``` + + +## Usage + +You can then start to send and subscribe to MQTT topics. Use port 1883 and the servers IP or any domain you configured to point at this server. diff --git a/docs/supported-services.md b/docs/supported-services.md index 649e3e2..be2f76d 100644 --- a/docs/supported-services.md +++ b/docs/supported-services.md @@ -44,6 +44,7 @@ | [Radicale](https://radicale.org/) | A Free and Open-Source CalDAV and CardDAV Server (solution for hosting contacts and calendars) | [Link](services/radicale.md) | | [Redmine](https://redmine.org/) | A flexible project management web application. | [Link](services/redmine.md) | | [Redis](https://redis.io/) | An in-memory data store used by millions of developers as a database, cache, streaming engine, and message broker. | [Link](services/redis.md) | +| [rumqttd](https://github.com/bytebeamio/rumqtt) | A high performance, embeddable [MQTT](https://en.wikipedia.org/wiki/MQTT) broker | [Link](services/rumqttd.md) | | [Soft Serve](https://github.com/charmbracelet/soft-serve) | A tasty, self-hostable [Git](https://git-scm.com/) server for the command line | [Link](services/soft-serve.md) | | [Syncthing](https://syncthing.net/) | A continuous file synchronization program which synchronizes files between two or more computers in real time | [Link](services/syncthing.md) | | [Telegraf](https://www.influxdata.com/) | An open source server agent to help you collect metrics from your stacks, sensors, and systems. | [Link](services/telegraf.md) | diff --git a/group_vars/mash_servers b/group_vars/mash_servers index 9f9e945..dc2b427 100644 --- a/group_vars/mash_servers +++ b/group_vars/mash_servers @@ -187,6 +187,8 @@ devture_systemd_service_manager_services_list_auto: | + ([{'name': (redis_identifier + '.service'), 'priority': 750, 'groups': ['mash', 'redis']}] if redis_enabled else []) + + ([{'name': (rumqttd_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'rumqttd']}] if rumqttd_enabled else []) + + ([{'name': (soft_serve_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'soft-serve']}] if soft_serve_enabled else []) + ([{'name': (syncthing_identifier + '.service'), 'priority': 2000, 'groups': ['mash', 'syncthing']}] if syncthing_enabled else []) @@ -2342,7 +2344,26 @@ redis_gid: "{{ mash_playbook_gid }}" # # ######################################################################## +######################################################################## +# # +# rumqttd # +# # +######################################################################## +rumqttd_enabled: false + +rumqttd_identifier: "{{ mash_playbook_service_identifier_prefix }}rumqttd" + +rumqttd_base_path: "{{ mash_playbook_base_path }}/{{ mash_playbook_service_base_directory_name_prefix }}rumqttd" + +rumqttd_uid: "{{ mash_playbook_uid }}" +rumqttd_gid: "{{ mash_playbook_gid }}" + +######################################################################## +# # +# /rumqttd # +# # +######################################################################## ######################################################################## diff --git a/requirements.yml b/requirements.yml index be04d9b..25cb837 100644 --- a/requirements.yml +++ b/requirements.yml @@ -143,6 +143,9 @@ version: v7.0.10-0 - src: git+https://gitlab.com/etke.cc/roles/redmine.git version: v5.0.5-2 +- src: git+https://github.com/mother-of-all-self-hosting/ansible-role-rumqttd.git + version: v0.21.0-0 + name: rumqttd - src: git+https://gitlab.com/etke.cc/roles/soft_serve.git version: v0.4.7-0 - src: git+https://gitlab.com/etke.cc/roles/ssh.git diff --git a/setup.yml b/setup.yml index 4915aa7..12f2d0b 100644 --- a/setup.yml +++ b/setup.yml @@ -127,6 +127,8 @@ - role: galaxy/redis + - role: galaxy/rumqttd + - role: galaxy/soft_serve - role: galaxy/syncthing