`_
v1.1.1
======
diff --git a/main/_sources/plugins/index.rst.txt b/main/_sources/plugins/index.rst.txt
index 76755e4..6482652 100644
--- a/main/_sources/plugins/index.rst.txt
+++ b/main/_sources/plugins/index.rst.txt
@@ -1,6 +1,12 @@
Plugin Index
============
+.. toctree::
+ :caption: filter plugins
+ :maxdepth: 0
+
+ version_sort
+
.. toctree::
:caption: modules plugins
:maxdepth: 0
diff --git a/main/_sources/plugins/keycloak_client.rst.txt b/main/_sources/plugins/keycloak_client.rst.txt
index 57814ea..cc19092 100644
--- a/main/_sources/plugins/keycloak_client.rst.txt
+++ b/main/_sources/plugins/keycloak_client.rst.txt
@@ -3347,6 +3347,105 @@ Parameters
.. Attributes
+Attributes
+----------
+
+.. rst-class:: ansible-option-table
+
+.. list-table::
+ :width: 100%
+ :widths: auto
+ :header-rows: 1
+
+ * - Attribute
+ - Support
+ - Description
+
+ * - .. raw:: html
+
+
+
+
+ .. _ansible_collections.middleware_automation.keycloak.keycloak_client_module__attribute-check_mode:
+
+ .. rst-class:: ansible-option-title
+
+ **check_mode**
+
+ .. raw:: html
+
+
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ :ansible-attribute-support-label:`Support: \ `\ :ansible-attribute-support-full:`full`
+
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ Can run in \ :literal:`check\_mode`\ and return changed status prediction without modifying target.
+
+
+ .. raw:: html
+
+
+
+
+ * - .. raw:: html
+
+
+
+
+ .. _ansible_collections.middleware_automation.keycloak.keycloak_client_module__attribute-diff_mode:
+
+ .. rst-class:: ansible-option-title
+
+ **diff_mode**
+
+ .. raw:: html
+
+
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ :ansible-attribute-support-label:`Support: \ `\ :ansible-attribute-support-full:`full`
+
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ Will return details on what has changed (or possibly needs changing in \ :literal:`check\_mode`\ ), when in diff mode.
+
+
+ .. raw:: html
+
+
+
+
+
.. Notes
diff --git a/main/_sources/plugins/keycloak_role.rst.txt b/main/_sources/plugins/keycloak_role.rst.txt
index b33b99d..2ec41df 100644
--- a/main/_sources/plugins/keycloak_role.rst.txt
+++ b/main/_sources/plugins/keycloak_role.rst.txt
@@ -714,6 +714,105 @@ Parameters
.. Attributes
+Attributes
+----------
+
+.. rst-class:: ansible-option-table
+
+.. list-table::
+ :width: 100%
+ :widths: auto
+ :header-rows: 1
+
+ * - Attribute
+ - Support
+ - Description
+
+ * - .. raw:: html
+
+
+
+
+ .. _ansible_collections.middleware_automation.keycloak.keycloak_role_module__attribute-check_mode:
+
+ .. rst-class:: ansible-option-title
+
+ **check_mode**
+
+ .. raw:: html
+
+
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ :ansible-attribute-support-label:`Support: \ `\ :ansible-attribute-support-full:`full`
+
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ Can run in \ :literal:`check\_mode`\ and return changed status prediction without modifying target.
+
+
+ .. raw:: html
+
+
+
+
+ * - .. raw:: html
+
+
+
+
+ .. _ansible_collections.middleware_automation.keycloak.keycloak_role_module__attribute-diff_mode:
+
+ .. rst-class:: ansible-option-title
+
+ **diff_mode**
+
+ .. raw:: html
+
+
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ :ansible-attribute-support-label:`Support: \ `\ :ansible-attribute-support-full:`full`
+
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ Will return details on what has changed (or possibly needs changing in \ :literal:`check\_mode`\ ), when in diff mode.
+
+
+ .. raw:: html
+
+
+
+
+
.. Notes
diff --git a/main/_sources/plugins/keycloak_user_federation.rst.txt b/main/_sources/plugins/keycloak_user_federation.rst.txt
index 7593bbe..8250f29 100644
--- a/main/_sources/plugins/keycloak_user_federation.rst.txt
+++ b/main/_sources/plugins/keycloak_user_federation.rst.txt
@@ -2902,6 +2902,105 @@ Parameters
.. Attributes
+Attributes
+----------
+
+.. rst-class:: ansible-option-table
+
+.. list-table::
+ :width: 100%
+ :widths: auto
+ :header-rows: 1
+
+ * - Attribute
+ - Support
+ - Description
+
+ * - .. raw:: html
+
+
+
+
+ .. _ansible_collections.middleware_automation.keycloak.keycloak_user_federation_module__attribute-check_mode:
+
+ .. rst-class:: ansible-option-title
+
+ **check_mode**
+
+ .. raw:: html
+
+
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ :ansible-attribute-support-label:`Support: \ `\ :ansible-attribute-support-full:`full`
+
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ Can run in \ :literal:`check\_mode`\ and return changed status prediction without modifying target.
+
+
+ .. raw:: html
+
+
+
+
+ * - .. raw:: html
+
+
+
+
+ .. _ansible_collections.middleware_automation.keycloak.keycloak_user_federation_module__attribute-diff_mode:
+
+ .. rst-class:: ansible-option-title
+
+ **diff_mode**
+
+ .. raw:: html
+
+
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ :ansible-attribute-support-label:`Support: \ `\ :ansible-attribute-support-full:`full`
+
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ Will return details on what has changed (or possibly needs changing in \ :literal:`check\_mode`\ ), when in diff mode.
+
+
+ .. raw:: html
+
+
+
+
+
.. Notes
diff --git a/main/_sources/plugins/version_sort.rst.txt b/main/_sources/plugins/version_sort.rst.txt
new file mode 100644
index 0000000..bebb992
--- /dev/null
+++ b/main/_sources/plugins/version_sort.rst.txt
@@ -0,0 +1,243 @@
+
+.. Document meta
+
+:orphan:
+
+.. |antsibull-internal-nbsp| unicode:: 0xA0
+ :trim:
+
+.. role:: ansible-attribute-support-label
+.. role:: ansible-attribute-support-property
+.. role:: ansible-attribute-support-full
+.. role:: ansible-attribute-support-partial
+.. role:: ansible-attribute-support-none
+.. role:: ansible-attribute-support-na
+.. role:: ansible-option-type
+.. role:: ansible-option-elements
+.. role:: ansible-option-required
+.. role:: ansible-option-versionadded
+.. role:: ansible-option-aliases
+.. role:: ansible-option-choices
+.. role:: ansible-option-choices-default-mark
+.. role:: ansible-option-default-bold
+.. role:: ansible-option-configuration
+.. role:: ansible-option-returned-bold
+.. role:: ansible-option-sample-bold
+
+.. Anchors
+
+.. _ansible_collections.middleware_automation.keycloak.version_sort_filter:
+
+.. Anchors: short name for ansible.builtin
+
+.. Anchors: aliases
+
+
+
+.. Title
+
+version_sort -- Sort a list according to version order instead of pure alphabetical one
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+.. Collection note
+
+.. note::
+ This filter plugin is part of the `middleware_automation.keycloak collection `_.
+
+ To install it, use: :code:`ansible-galaxy collection install middleware\_automation.keycloak`.
+
+ To use it in a playbook, specify: :code:`middleware_automation.keycloak.version_sort`.
+
+.. version_added
+
+.. rst-class:: ansible-version-added
+
+New in middleware\_automation.keycloak 2.2.0
+
+.. contents::
+ :local:
+ :depth: 1
+
+.. Deprecated
+
+
+Synopsis
+--------
+
+.. Description
+
+- Sort a list according to version order instead of pure alphabetical one.
+
+
+.. Aliases
+
+
+.. Requirements
+
+
+
+
+
+.. Input
+
+Input
+-----
+
+This describes the input of the filter, the value before ``| middleware_automation.keycloak.version_sort``.
+
+.. rst-class:: ansible-option-table
+
+.. list-table::
+ :width: 100%
+ :widths: auto
+ :header-rows: 1
+
+ * - Parameter
+ - Comments
+
+ * - .. raw:: html
+
+
+
+
+ .. _ansible_collections.middleware_automation.keycloak.version_sort_filter__parameter-_input:
+
+ .. rst-class:: ansible-option-title
+
+ **Input**
+
+ .. raw:: html
+
+
+
+ .. rst-class:: ansible-option-type-line
+
+ :ansible-option-type:`list` / :ansible-option-elements:`elements=string` / :ansible-option-required:`required`
+
+
+
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ A list of strings to sort.
+
+
+ .. raw:: html
+
+
+
+
+
+
+.. Options
+
+
+.. Attributes
+
+
+.. Notes
+
+
+.. Seealso
+
+
+.. Examples
+
+Examples
+--------
+
+.. code-block:: yaml+jinja
+
+
+ - name: Convert list of tuples into dictionary
+ ansible.builtin.set_fact:
+ dictionary: "{{ ['2.1', '2.10', '2.9'] | middleware_automation.keycloak.version_sort }}"
+ # Result is ['2.1', '2.9', '2.10']
+
+
+
+
+.. Facts
+
+
+.. Return values
+
+Return Value
+------------
+
+.. rst-class:: ansible-option-table
+
+.. list-table::
+ :width: 100%
+ :widths: auto
+ :header-rows: 1
+
+ * - Key
+ - Description
+
+ * - .. raw:: html
+
+
+
+
+ .. _ansible_collections.middleware_automation.keycloak.version_sort_filter__return-_value:
+
+ .. rst-class:: ansible-option-title
+
+ **Return value**
+
+ .. raw:: html
+
+
+
+ .. rst-class:: ansible-option-type-line
+
+ :ansible-option-type:`list` / :ansible-option-elements:`elements=string`
+
+ .. raw:: html
+
+
+
+ - .. raw:: html
+
+
+
+ The list of strings sorted by version.
+
+
+ .. rst-class:: ansible-option-line
+
+ :ansible-option-returned-bold:`Returned:` success
+
+
+ .. raw:: html
+
+
+
+
+
+.. Status (Presently only deprecated)
+
+
+.. Authors
+
+Authors
+~~~~~~~
+
+- Eric L. (@ericzolf)
+
+
+.. hint::
+ Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.
+
+.. Extra links
+
+
+.. Parsing errors
+
diff --git a/main/_sources/roles/keycloak.md.txt b/main/_sources/roles/keycloak.md.txt
index 5aadcb9..32eb022 100644
--- a/main/_sources/roles/keycloak.md.txt
+++ b/main/_sources/roles/keycloak.md.txt
@@ -96,7 +96,7 @@ Role Defaults
|`keycloak_archive` | keycloak install archive filename | `keycloak-legacy-{{ keycloak_version }}.zip` |
|`keycloak_download_url_9x` | Download URL for keycloak (deprecated) | `https://downloads.jboss.org/keycloak/{{ keycloak_version }}/{{ keycloak_archive }}` |
|`keycloak_installdir` | Installation path | `{{ keycloak_dest }}/keycloak-{{ keycloak_version }}` |
-|`keycloak_jboss_home` | Installation work directory | `{{ keycloak_rhsso_installdir if keycloak_rhsso_enable else keycloak_installdir }}` |
+|`keycloak_jboss_home` | Installation work directory | `{{ keycloak_rhsso_installdir }}` |
|`keycloak_config_dir` | Path for configuration | `{{ keycloak_jboss_home }}/standalone/configuration` |
|`keycloak_config_path_to_standalone_xml` | Custom path for configuration | `{{ keycloak_jboss_home }}/standalone/configuration/{{ keycloak_config_standalone_xml }}` |
|`keycloak_config_override_template` | Path to custom template for standalone.xml configuration | `''` |
diff --git a/main/index.html b/main/index.html
index 5f9ed47..121a4c3 100644
--- a/main/index.html
+++ b/main/index.html
@@ -108,6 +108,7 @@
Plugin Index
+- version_sort – Sort a list according to version order instead of pure alphabetical one
- keycloak_client – Allows administration of Keycloak clients via Keycloak API
- keycloak_role – Allows administration of Keycloak roles via Keycloak API
- keycloak_user_federation – Allows administration of Keycloak user federations via Keycloak API
diff --git a/main/objects.inv b/main/objects.inv
index 65c4016..c14cdec 100644
Binary files a/main/objects.inv and b/main/objects.inv differ
diff --git a/main/plugins/index.html b/main/plugins/index.html
index 6f34a90..a86a7a7 100644
--- a/main/plugins/index.html
+++ b/main/plugins/index.html
@@ -19,7 +19,7 @@
-
+
@@ -46,6 +46,7 @@
- Ansible Collection - middleware_automation.keycloak
- Plugin Index
+- version_sort – Sort a list according to version order instead of pure alphabetical one
- keycloak_client – Allows administration of Keycloak clients via Keycloak API
- keycloak_role – Allows administration of Keycloak roles via Keycloak API
- keycloak_user_federation – Allows administration of Keycloak user federations via Keycloak API
@@ -102,11 +103,27 @@
Plugin Index
+