mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-11-24 09:53:47 +00:00
375 increase maximum of sub levels to 10
This commit is contained in:
@@ -30,7 +30,7 @@ description:
|
|||||||
If the option is V(false) and a temporary flow already exists, the module will fail to prevent accidental data loss.
|
If the option is V(false) and a temporary flow already exists, the module will fail to prevent accidental data loss.
|
||||||
- B(Idempotency) - If the existing flow already matches the desired configuration, no changes are made.
|
- B(Idempotency) - If the existing flow already matches the desired configuration, no changes are made.
|
||||||
The module compares a normalised representation of the existing flow against the desired state before deciding whether to trigger the Safe Swap procedure.
|
The module compares a normalised representation of the existing flow against the desired state before deciding whether to trigger the Safe Swap procedure.
|
||||||
- A depth of 4 sub-flows is supported.
|
- A depth of 10 sub-flows is supported.
|
||||||
|
|
||||||
attributes:
|
attributes:
|
||||||
check_mode:
|
check_mode:
|
||||||
@@ -222,7 +222,7 @@ options:
|
|||||||
authenticationExecutions:
|
authenticationExecutions:
|
||||||
description:
|
description:
|
||||||
- The execution configuration for executions within the sub-flow.
|
- The execution configuration for executions within the sub-flow.
|
||||||
- Executions at sub level 4 (last sub level).
|
- Executions at sub level 4.
|
||||||
type: list
|
type: list
|
||||||
elements: dict
|
elements: dict
|
||||||
suboptions:
|
suboptions:
|
||||||
@@ -236,7 +236,6 @@ options:
|
|||||||
description:
|
description:
|
||||||
- The C(providerId) of the execution.
|
- The C(providerId) of the execution.
|
||||||
type: str
|
type: str
|
||||||
required: true
|
|
||||||
authenticationConfig:
|
authenticationConfig:
|
||||||
description:
|
description:
|
||||||
- The configuration for the execution.
|
- The configuration for the execution.
|
||||||
@@ -250,6 +249,247 @@ options:
|
|||||||
description: Options for the execution config.
|
description: Options for the execution config.
|
||||||
required: true
|
required: true
|
||||||
type: dict
|
type: dict
|
||||||
|
subFlow:
|
||||||
|
description:
|
||||||
|
- The name of the sub-flow.
|
||||||
|
type: str
|
||||||
|
subFlowType:
|
||||||
|
description:
|
||||||
|
- The type of the sub-flow.
|
||||||
|
choices: [basic-flow, form-flow]
|
||||||
|
default: basic-flow
|
||||||
|
type: str
|
||||||
|
authenticationExecutions:
|
||||||
|
description:
|
||||||
|
- The execution configuration for executions within the sub-flow.
|
||||||
|
- Executions at sub level 5.
|
||||||
|
type: list
|
||||||
|
elements: dict
|
||||||
|
suboptions:
|
||||||
|
requirement:
|
||||||
|
description:
|
||||||
|
- The requirement status of the execution or sub-flow.
|
||||||
|
choices: [REQUIRED, ALTERNATIVE, DISABLED, CONDITIONAL]
|
||||||
|
type: str
|
||||||
|
required: true
|
||||||
|
providerId:
|
||||||
|
description:
|
||||||
|
- The C(providerId) of the execution.
|
||||||
|
type: str
|
||||||
|
authenticationConfig:
|
||||||
|
description:
|
||||||
|
- The configuration for the execution.
|
||||||
|
type: dict
|
||||||
|
suboptions:
|
||||||
|
alias:
|
||||||
|
description: Name of the execution config.
|
||||||
|
type: str
|
||||||
|
required: true
|
||||||
|
config:
|
||||||
|
description: Options for the execution config.
|
||||||
|
required: true
|
||||||
|
type: dict
|
||||||
|
subFlow:
|
||||||
|
description:
|
||||||
|
- The name of the sub-flow.
|
||||||
|
type: str
|
||||||
|
subFlowType:
|
||||||
|
description:
|
||||||
|
- The type of the sub-flow.
|
||||||
|
choices: [basic-flow, form-flow]
|
||||||
|
default: basic-flow
|
||||||
|
type: str
|
||||||
|
authenticationExecutions:
|
||||||
|
description:
|
||||||
|
- The execution configuration for executions within the sub-flow.
|
||||||
|
- Executions at sub level 6.
|
||||||
|
type: list
|
||||||
|
elements: dict
|
||||||
|
suboptions:
|
||||||
|
requirement:
|
||||||
|
description:
|
||||||
|
- The requirement status of the execution or sub-flow.
|
||||||
|
choices: [REQUIRED, ALTERNATIVE, DISABLED, CONDITIONAL]
|
||||||
|
type: str
|
||||||
|
required: true
|
||||||
|
providerId:
|
||||||
|
description:
|
||||||
|
- The C(providerId) of the execution.
|
||||||
|
type: str
|
||||||
|
authenticationConfig:
|
||||||
|
description:
|
||||||
|
- The configuration for the execution.
|
||||||
|
type: dict
|
||||||
|
suboptions:
|
||||||
|
alias:
|
||||||
|
description: Name of the execution config.
|
||||||
|
type: str
|
||||||
|
required: true
|
||||||
|
config:
|
||||||
|
description: Options for the execution config.
|
||||||
|
required: true
|
||||||
|
type: dict
|
||||||
|
subFlow:
|
||||||
|
description:
|
||||||
|
- The name of the sub-flow.
|
||||||
|
type: str
|
||||||
|
subFlowType:
|
||||||
|
description:
|
||||||
|
- The type of the sub-flow.
|
||||||
|
choices: [basic-flow, form-flow]
|
||||||
|
default: basic-flow
|
||||||
|
type: str
|
||||||
|
authenticationExecutions:
|
||||||
|
description:
|
||||||
|
- The execution configuration for executions within the sub-flow.
|
||||||
|
- Executions at sub level 7.
|
||||||
|
type: list
|
||||||
|
elements: dict
|
||||||
|
suboptions:
|
||||||
|
requirement:
|
||||||
|
description:
|
||||||
|
- The requirement status of the execution or sub-flow.
|
||||||
|
choices: [REQUIRED, ALTERNATIVE, DISABLED, CONDITIONAL]
|
||||||
|
type: str
|
||||||
|
required: true
|
||||||
|
providerId:
|
||||||
|
description:
|
||||||
|
- The C(providerId) of the execution.
|
||||||
|
type: str
|
||||||
|
authenticationConfig:
|
||||||
|
description:
|
||||||
|
- The configuration for the execution.
|
||||||
|
type: dict
|
||||||
|
suboptions:
|
||||||
|
alias:
|
||||||
|
description: Name of the execution config.
|
||||||
|
type: str
|
||||||
|
required: true
|
||||||
|
config:
|
||||||
|
description: Options for the execution config.
|
||||||
|
required: true
|
||||||
|
type: dict
|
||||||
|
subFlow:
|
||||||
|
description:
|
||||||
|
- The name of the sub-flow.
|
||||||
|
type: str
|
||||||
|
subFlowType:
|
||||||
|
description:
|
||||||
|
- The type of the sub-flow.
|
||||||
|
choices: [basic-flow, form-flow]
|
||||||
|
default: basic-flow
|
||||||
|
type: str
|
||||||
|
authenticationExecutions:
|
||||||
|
description:
|
||||||
|
- The execution configuration for executions within the sub-flow.
|
||||||
|
- Executions at sub level 8.
|
||||||
|
type: list
|
||||||
|
elements: dict
|
||||||
|
suboptions:
|
||||||
|
requirement:
|
||||||
|
description:
|
||||||
|
- The requirement status of the execution or sub-flow.
|
||||||
|
choices: [REQUIRED, ALTERNATIVE, DISABLED, CONDITIONAL]
|
||||||
|
type: str
|
||||||
|
required: true
|
||||||
|
providerId:
|
||||||
|
description:
|
||||||
|
- The C(providerId) of the execution.
|
||||||
|
type: str
|
||||||
|
authenticationConfig:
|
||||||
|
description:
|
||||||
|
- The configuration for the execution.
|
||||||
|
type: dict
|
||||||
|
suboptions:
|
||||||
|
alias:
|
||||||
|
description: Name of the execution config.
|
||||||
|
type: str
|
||||||
|
required: true
|
||||||
|
config:
|
||||||
|
description: Options for the execution config.
|
||||||
|
required: true
|
||||||
|
type: dict
|
||||||
|
subFlow:
|
||||||
|
description:
|
||||||
|
- The name of the sub-flow.
|
||||||
|
type: str
|
||||||
|
subFlowType:
|
||||||
|
description:
|
||||||
|
- The type of the sub-flow.
|
||||||
|
choices: [basic-flow, form-flow]
|
||||||
|
default: basic-flow
|
||||||
|
type: str
|
||||||
|
authenticationExecutions:
|
||||||
|
description:
|
||||||
|
- The execution configuration for executions within the sub-flow.
|
||||||
|
- Executions at sub level 9.
|
||||||
|
type: list
|
||||||
|
elements: dict
|
||||||
|
suboptions:
|
||||||
|
requirement:
|
||||||
|
description:
|
||||||
|
- The requirement status of the execution or sub-flow.
|
||||||
|
choices: [REQUIRED, ALTERNATIVE, DISABLED, CONDITIONAL]
|
||||||
|
type: str
|
||||||
|
required: true
|
||||||
|
providerId:
|
||||||
|
description:
|
||||||
|
- The C(providerId) of the execution.
|
||||||
|
type: str
|
||||||
|
authenticationConfig:
|
||||||
|
description:
|
||||||
|
- The configuration for the execution.
|
||||||
|
type: dict
|
||||||
|
suboptions:
|
||||||
|
alias:
|
||||||
|
description: Name of the execution config.
|
||||||
|
type: str
|
||||||
|
required: true
|
||||||
|
config:
|
||||||
|
description: Options for the execution config.
|
||||||
|
required: true
|
||||||
|
type: dict
|
||||||
|
subFlow:
|
||||||
|
description:
|
||||||
|
- The name of the sub-flow.
|
||||||
|
type: str
|
||||||
|
subFlowType:
|
||||||
|
description:
|
||||||
|
- The type of the sub-flow.
|
||||||
|
choices: [basic-flow, form-flow]
|
||||||
|
default: basic-flow
|
||||||
|
type: str
|
||||||
|
authenticationExecutions:
|
||||||
|
description:
|
||||||
|
- The execution configuration for executions within the sub-flow.
|
||||||
|
- Executions at sub level 10 (last sub level).
|
||||||
|
type: list
|
||||||
|
elements: dict
|
||||||
|
suboptions:
|
||||||
|
requirement:
|
||||||
|
description:
|
||||||
|
- The requirement status of the execution or sub-flow.
|
||||||
|
choices: [REQUIRED, ALTERNATIVE, DISABLED, CONDITIONAL]
|
||||||
|
type: str
|
||||||
|
required: true
|
||||||
|
providerId:
|
||||||
|
description:
|
||||||
|
- The C(providerId) of the execution.
|
||||||
|
type: str
|
||||||
|
required: true
|
||||||
|
authenticationConfig:
|
||||||
|
description:
|
||||||
|
- The configuration for the execution.
|
||||||
|
type: dict
|
||||||
|
suboptions:
|
||||||
|
alias:
|
||||||
|
description: Name of the execution config.
|
||||||
|
type: str
|
||||||
|
required: true
|
||||||
|
config:
|
||||||
|
description: Options for the execution config.
|
||||||
|
required: true
|
||||||
|
type: dict
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
- Whether the authentication flow should exist or not.
|
- Whether the authentication flow should exist or not.
|
||||||
@@ -853,7 +1093,7 @@ def main() -> None:
|
|||||||
authenticationExecutions=dict(
|
authenticationExecutions=dict(
|
||||||
type="list",
|
type="list",
|
||||||
elements="dict",
|
elements="dict",
|
||||||
options=create_authentication_execution_spec_options(4),
|
options=create_authentication_execution_spec_options(10),
|
||||||
),
|
),
|
||||||
state=dict(choices=["absent", "present"], default="present"),
|
state=dict(choices=["absent", "present"], default="present"),
|
||||||
force_temporary_swap_flow_deletion=dict(type="bool", default=True),
|
force_temporary_swap_flow_deletion=dict(type="bool", default=True),
|
||||||
|
|||||||
Reference in New Issue
Block a user