remyma.ansible-artemis
Ansible Activemq Artemis
activemq artemis ブローカーをインストールして設定します。
要件
- java : artemisを動作させるためにJavaが必要です。
役割変数
サービス設定
変数名 | 型 | デフォルト | 説明 |
---|---|---|---|
artemis_version | 文字列 | 2.6.0 |
Artemisのバージョン |
artemis_download_url | 文字列 | ArtemisアーカイブのダウンロードURL | |
artemis_group | 辞書 | デフォルトを参照 | Artemisサービスグループ |
artemis_user | 辞書 | デフォルトを参照 | Artemisサービスユーザー |
artemis_install_dir | 文字列 | /opt |
Artemisのインストールディレクトリ |
artemis_home | 文字列 | {{ artemis_install_dir }}/apache-artemis-{{ artemis_version }} |
Artemisのホームディレクトリ |
artemis_brokers | リスト | デフォルトを参照 | インストールするブローカーのリスト(複数のインスタンスをインストールできます) |
ブローカーインスタンスのデフォルト設定
変数名 | 型 | デフォルト | 説明 |
---|---|---|---|
artemis_home | 文字列 | /opt/artemis (シンボリックリンク) |
etc/artemis.profileのARTEMIS_HOME |
artemis_host | 文字列 | 0.0.0.0 |
Artemisのホスト |
artemis_port_artemis | 数字 | 61616 | TCPポート |
artemis_port_amqp | 数字 | 5672 | AMQPポート |
artemis_port_stomp | 数字 | 61613 | STOMPポート |
artemis_port_hornetq | 数字 | 5445 | HornetQポート |
artemis_port_mqtt | 数字 | 1883 | MQTTポート |
artemis_acceptors | リスト | デフォルトを参照 | ブローカーのためのArtemisアクセプターのリスト (amqp, mqtt, ...) |
artemis_web_port | 数字 | 8161 | HTTP Webポート (jolokia、コンソールUI用) |
artemis_web_host | 文字列 | localhost | HTTP Webポート (jolokia、コンソールUI用) |
jolokia_cors | 文字列のリスト | ["://localhost"] | jolokiaのCORS Allow-Originポリシー |
artemis_journal_type | 文字列 | NIO | ジャーナルタイプ |
artemis_journal_pool_files | 文字列 | 10 | ジャーナルファイルプールの上限 |
artemis_journal_buffer_timeouts | 辞書 | {NIO: "3333333", ASYNCIO: "500000"} | ジャーナルタイプによって異なるジャーナルバッファタイムアウトのデフォルト |
例のプレイブック
基本的なインストール
- hosts: artemis-servers
roles:
- { role: artemis }
複数インスタンス
- hosts: artemis-servers
roles:
- { role: artemis }
ライセンス
BSD
インストール
ansible-galaxy install remyma.ansible-artemis
ライセンス
Unknown
ダウンロード
1.7k
所有者