1Module2Roles4Plugins2Dependencies
Install and configure activemq / AMQ broker services.
Collection to install and configure Apache ActiveMQ Artemis / Red Hat AMQ broker.
This collection has been tested against following Ansible versions: >=2.16.0.
Before using the collection, you need to setup Ansible Automation Hub as galaxy server; then install it via the CLI:
ansible-galaxy collection install redhat.amq_broker
The dependencies will be installed automatically when installing the collection with ansible-galaxy, or to install manually use:
ansible-galaxy collection install -r requirements.yml
To install all the dependencies:
pip install -r requirements.txt
playbooks/amq_broker.yml
deploys based on the collections defaults.By default the collection will download the desired version of the install zipfile to the ansible controller node, then it will distribute to target nodes.
The variable amq_broker_local_archive_repository
controls the path on the controller where the install zipfiles will be located, and by default will be the playbook working directory.
Making the install zipfile archive available to the playbook working directory, and setting amq_broker_offline_install
to True
, allows to skip
the download tasks. The local path for the archive does match the downloaded archive path, so that it is also used as a cache when multiple hosts are provisioned in a cluster.
amq_broker_offline_install: True
The amq_broker
role supports downloading and installing from the Red Hat Customer Portal using credentials associated to a service account. After having
authenticated in the customer portal, navigate to the hybrid cloud console, and select the services account tab
to create one, if needed. Client ID and Client Secret associated to the service account need to be provided to the collection using the following variables:
rhn_username: '<client_id>'
rhn_password: '<client_secret>'
The downloaded product archive will be stored in the controller working directory, and then distributed to target nodes.
When deploying clustered configurations, all hosts belonging to the cluster must be present in ansible_play_batch
; ie. they must be targeted by the same ansible-playbook execution.
redhat.amq_broker collection v2.3.5 is for Technical Preview. If you have any issues or questions related to collection, please don't hesitate to contact us on Ansible-middleware-core@redhat.com or open an issue on https://github.com/ansible-middleware/amq/issues
Product |
---|
Red Hat Ansible Automation Platform 2.5 |
Red Hat Ansible Automation Platform 2.4 |
This collection requires the following collections for use:
Name | Summary |
---|
The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.
We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.