remyma.ansible-artemis

Ansible Activemq Artemis

Build Status

This guide explains how to install and set up the ActiveMQ Artemis broker.

Requirements

  • Java: Artemis requires Java to operate.

Role Variables

Service Configuration

Variable Type Default Description
artemis_version String 2.6.0 Version of Artemis
artemis_download_url String URL to download the Artemis archive
artemis_group Dictionary See defaults Group for the Artemis service
artemis_user Dictionary See defaults User for the Artemis service
artemis_install_dir String /opt Directory where Artemis will be installed
artemis_home String {{ artemis_install_dir }}/apache-artemis-{{ artemis_version }} Home directory for Artemis
artemis_brokers List See defaults List of brokers to install (can install multiple instances)

Broker Instance Default Configuration

Variable Type Default Description
artemis_home String /opt/artemis (symlink to current) ARTEMIS_HOME in etc/artemis.profile
artemis_host String 0.0.0.0 Host for Artemis
artemis_port_artemis Number 61616 TCP port
artemis_port_amqp Number 5672 AMQP port
artemis_port_stomp Number 61613 STOMP port
artemis_port_hornetq Number 5445 HornetQ port
artemis_port_mqtt Number 1883 MQTT port
artemis_acceptors List See defaults List of Artemis acceptors (AMQP, MQTT, etc.)
artemis_web_port Number 8161 HTTP web port (used for Jolokia, console UI)
artemis_web_host String localhost Web host for Artemis
jolokia_cors List of Strings ["://localhost"] CORS policy for Jolokia
artemis_journal_type String NIO Type of journal
artemis_journal_pool_files String 10 Max number of journal files in the pool
artemis_journal_buffer_timeouts Dictionary {NIO: "3333333", ASYNCIO: "500000"} Default timeout settings for journal buffer based on journal type

Example Playbook

Basic Installation

- hosts: artemis-servers
  roles:
    - { role: artemis }

Multiple Instances

- hosts: artemis-servers
  roles:
    - { role: artemis }

License

BSD

Informazioni sul progetto

Ansible role to install artemis brokers.

Installa
ansible-galaxy install remyma.ansible-artemis
Licenza
Unknown
Download
1.7k
Proprietario