.. Document meta
:orphan:
.. |antsibull-internal-nbsp| unicode:: 0xA0
:trim:
.. meta::
:antsibull-docs: 2.24.0
.. Anchors
.. _ansible_collections.middleware_automation.amq.create_security_matches_filter:
.. Anchors: short name for ansible.builtin
.. Title
create_security_matches -- Create security settings matches from AMQ broker roles
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.. Collection note
.. 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 :code:`ansible-galaxy collection list`.
To install it, use: :code:`ansible\-galaxy collection install middleware\_automation.amq`.
To use it in a playbook, specify: :code:`middleware_automation.amq.create_security_matches`.
.. version_added
.. rst-class:: ansible-version-added
New in middleware\_automation.amq 2.3.6
.. contents::
:local:
:depth: 1
.. Deprecated
Synopsis
--------
.. Description
- Processes AMQ broker roles and permissions to create security settings matches.
.. Aliases
.. Requirements
.. Input
Input
-----
This describes the input of the filter, the value before ``| middleware_automation.amq.create_security_matches``.
.. raw:: html
Parameter |
Comments |
Input
list
/ elements=dictionary
/ required
|
List of AMQ broker role dictionaries.
|
.. Options
.. Attributes
.. Notes
Notes
-----
.. note::
- Each role dict must have 'name' field.
- The 'match' field is optional and defaults to '#'.
- The 'permissions' field should be a list.
.. Seealso
.. Examples
Examples
--------
.. code-block:: yaml+jinja
# 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 }}"
.. Facts
.. Return values
Return Value
------------
.. raw:: html
Key |
Description |
|
Dictionary mapping match patterns to permissions and roles.
Returned: always
|
.. Status (Presently only deprecated)
.. Authors
Authors
~~~~~~~
- Martin Cihlar
.. Extra links
.. Parsing errors