create_security_matches – Create security settings matches from AMQ broker roles
Note
This filter plugin is part of the middleware_automation.amq collection.
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install middleware_automation.amq.
To use it in a playbook, specify: middleware_automation.amq.create_security_matches.
New in middleware_automation.amq 2.3.6
Synopsis
Processes AMQ broker roles and permissions to create security settings matches.
Input
This describes the input of the filter, the value before | middleware_automation.amq.create_security_matches.
Parameter |
Comments |
|---|---|
List of AMQ broker role dictionaries. |
Notes
Note
Each role dict must have ‘name’ field.
The ‘match’ field is optional and defaults to ‘#’.
The ‘permissions’ field should be a list.
Examples
# Create security settings matches from roles
- name: Create security settings
ansible.builtin.set_fact:
security_settings_matches: "{{ activemq_roles | middleware_automation.amq.create_security_matches }}"
Return Value
Key |
Description |
|---|---|
Dictionary mapping match patterns to permissions and roles. Returned: always |