AMQ Streams Install role
A role to automate the installation of Zookeeper and AMQ Streams brokers.
Requirements
Requirements on the target system are ensured by the role.
Role Defaults
Variable |
Description |
Default |
---|---|---|
|
Version of the product used |
|
|
Scala version used to run amq streams |
|
|
Scala version followed by product version |
|
|
Downloaded archive filename |
|
|
Downlaod URL |
|
|
Path to the download folder |
|
|
Path to the install dir for the product |
|
|
Full path to the archive file |
|
|
List of system dependencies required |
|
|
Version of the default OpenJDK to install to run AMQ streams |
|
|
AMQ Streams home directory |
|
|
Path to the kafka-topics.sh script |
|
|
Ensure Zookeeper is installed on target |
|
|
Path to Zookeeper properties file |
|
|
Path to template for Zookeeper properties |
|
|
Path to Zookeeper server start script |
|
|
System user running Zookeeper |
|
|
System group for Zookeeper |
|
|
Systemd service name for Zookeeper |
|
|
Template for systemd service config for Zookeeper |
|
|
Zookeeper port |
|
|
Zookeeper host |
|
|
Zookeeper data directory |
|
|
Zookeeper logs directory |
|
|
Zookeeper max client connection |
|
|
Zookeeper server admin enable |
|
|
Broker setup enabled |
|
|
Path to the broker server start script |
|
|
Path to broker properties file |
|
|
Systemd service name for AMQ broker |
|
|
System user running the AMQ Streams broker |
|
|
System group for user running the AMQ Streams broker |
|
|
Path to template file for broker.properties |
|
|
Path to the broker config file |
|
|
Path to AMQ Streams logs directory |
|
|
Broker number of network threads |
|
|
Broker number of I/O threads |
|
|
Broker buffer send bytes size |
|
|
Broker buffer bytes size |
|
|
Broker socket request max bytes |
|
|
Broker number of partitions |
|
|
Nimber of recovery threads by data directory |
|
|
Broker offset topic replication factor |
|
|
State log replication factor |
|
|
Min isr value |
|
|
Log retention hours |
|
|
Log retention interval checks in ms |
|
|
Zookeeper connection timeout in ms |
|
|
Broker group intial rebalance delay in ms |
|
|
Path to the Broker properties templates |
|
|
Path to the systemd config file directory |
|
|
Template used for defining the systemd service |
|
|
AMQ Streams broker host |
|
|
AMQ Streams broker port |
|
Role Variables
No required variables
Dependencies
Example Playbooks
Default Install
Installs the default version of Wildfly to the default location with the default user.
---
- name: "Automate AMQ Streams install"
hosts: all
vars:
topic_name: myTopic
roles:
- role: amq_streams_install
tasks:
- name: "Ensures topic {{ topic_name }} exist."
ansible.builtin.include_role:
name: amq_streams_install
tasks_from: topic/create.yml
- name: "Describe created topic."
ansible.builtin.include_role:
name: amq_streams_install
tasks_from: topic/describe.yml
License
GPL2