snapp-cab / ansible-role-nats

Ansible Role - NATS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NATS Ansible Role

GitHub Actions Workflow Status

NATS.io is a simple, secure, and high-performance open source messaging system for cloud-native applications, IoT messaging, and microservices architectures. This Ansible role installs it and then provide its configuration.

Installation

# requirments.yaml
- src: git@github.com:snapp-cab/ansible-role-nats.git
  scm: git
  version: main
  name: nats

Role Variables

nats_version: "2.1.6"
nats_host_group: "core"

nats_gateway_host_groups: []

nats_exporter_enabled: "true"
nats_prometheus_exporter_version: "0.6.2"

Please note that this Ansible provides a cluster installation of NATS, so you must group your hosts into the cluster and nats_host_group specifies the cluster.

Example Playbook

- hosts: some_servers
  vars:
    nats_version: "2.1.6"
    nats_host_group: "some_servers"
    nats_exporter_enabled: "true"
    nats_prometheus_exporter_version: "0.6.2"
  roles:
    - nats

About

Ansible Role - NATS

License:MIT License


Languages

Language:Jinja 100.0%