Skip to content

Commit 7f4a692

Browse files
Siddhartha ManiSiddhartha Mani
authored andcommitted
Updated YAML for activemq Exampla Playbook
1 parent b7b0e9e commit 7f4a692

File tree

1 file changed

+41
-3
lines changed

1 file changed

+41
-3
lines changed

roles/activemq/README.md

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -541,11 +541,49 @@ Role Variables
541541

542542
Example Playbook
543543
----------------
544-
```
544+
```yaml
545545
---
546-
- hosts: all
546+
- name: Install and configure Apache ActiveMQ Artemis
547+
hosts: all
548+
become: true
549+
547550
collections:
548551
- middleware_automation.amq
552+
553+
vars:
554+
activemq_version: "2.40.0"
555+
activemq_archive: "apache-artemis-2.40.0-bin.zip"
556+
activemq_download_url: "https://archive.apache.org/dist/activemq/activemq-artemis/2.40.0/"
557+
activemq_dest: "/opt/amq"
558+
activemq_installdir: "/opt/amq/apache-artemis-2.40.0"
559+
activemq_service_user: "amq-broker"
560+
activemq_service_group: "amq-broker"
561+
activemq_service_name: "activemq"
562+
activemq_instance_name: "amq-broker"
563+
activemq_bind_address: "0.0.0.0"
564+
activemq_host: "localhost"
565+
activemq_http_port: 8161
566+
activemq_port: 61616
567+
activemq_queues: "queue.in,queue.out"
568+
activemq_users:
569+
- user: amq
570+
password: amqbrokerpass
571+
roles: admin
572+
- user: other
573+
password: amqotherpass
574+
roles: consumer, producer
575+
activemq_roles:
576+
- name: admin
577+
permissions: "createNonDurableQueue,deleteNonDurableQueue,createDurableQueue,deleteDurableQueue,createAddress,deleteAddress,consume,browse,send,manage"
578+
- name: consumer
579+
match: topics.*
580+
permissions: "consume,browse"
581+
- name: producer
582+
match: topics.*
583+
permissions: "send,browse"
584+
activemq_enable_audit: false
585+
activemq_logger_level: "INFO"
586+
549587
roles:
550588
- activemq
551-
```
589+
```

0 commit comments

Comments
 (0)