remyma.ansible-artemis
Ansible Activemq Artemis
Instalacja i konfiguracja brokera activemq artemis.
Wymagania
- java: artemis potrzebuje java do działania.
Zmienne roli
Konfiguracja usługi
| Zmienna | typ | Domyślna | Opis |
|---|---|---|---|
| artemis_version | string | 2.6.0 |
Wersja Artemis |
| artemis_download_url | string | URL do pobrania archiwum Artemis | |
| artemis_group | słownik | patrz domyślne | Grupa usługi Artemis |
| artemis_user | słownik | patrz domyślne | Użytkownik usługi Artemis |
| artemis_install_dir | string | /opt |
Katalog instalacji Artemis |
| artemis_home | string | {{ artemis_install_dir }}/apache-artemis-{{ artemis_version }} |
Katalog domowy Artemis |
| artemis_brokers | lista | patrz domyślne | Lista brokerów do zainstalowania (możesz zainstalować wiele instancji jeśli chcesz) |
Domyślna konfiguracja instancji brokera
| Zmienna | typ | Domyślna | Opis |
|---|---|---|---|
| artemis_home | string | /opt/artemis (symlink do obecnego systemu) |
ARTEMIS_HOME w etc/artemis.profile |
| artemis_host | string | 0.0.0.0 |
Host Artemis |
| artemis_port_artemis | liczba | 61616 | Port TCP |
| artemis_port_amqp | liczba | 5672 | Port AMQP |
| artemis_port_stomp | liczba | 61613 | Port STOMP |
| artemis_port_hornetq | liczba | 5445 | Port HornetQ |
| artemis_port_mqtt | liczba | 1883 | Port MQTT |
| artemis_acceptors | lista | patrz domyślne | Lista akceptorów artemis dla brokera (amqp, mqtt, ...) |
| artemis_web_port | liczba | 8161 | Port HTTP (używany dla jolokia, interfejsu konsoli) |
| artemis_web_host | string | localhost | Port HTTP (używany dla jolokia, interfejsu konsoli) |
| jolokia_cors | lista łańcuchów | ["://localhost"] | Polityka CORS Allow-Origin dla jolokia |
| artemis_journal_type | string | NIO | Typ dziennika |
| artemis_journal_pool_files | string | 10 | Górna granica puli plików dziennika |
| artemis_journal_buffer_timeouts | słownik | {NIO: "3333333", ASYNCIO: "500000"} | Domyślne wartości dla journal-buffer-timeout, w zależności od typu dziennika |
Przykładowy Playbook
Podstawowa instalacja
- hosts: artemis-servers
roles:
- { role: artemis }
Wiele instancji
- hosts: artemis-servers
roles:
- { role: artemis }
Licencja
BSD
Zainstaluj
ansible-galaxy install remyma.ansible-artemisLicencja
Unknown
Pobrania
1.7k
Właściciel
