Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/modules/keycloak_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def create_or_update_executions(kc, config, check_mode, new_flow=False, realm='m
add_error_line(err_msg_lines=err_msg, err_msg="wrong index", flow=config["alias"],
exec_name=get_identifier(new_exec), expected=new_exec["index"],
actual=existing_exec["index"])
if not check_mode:
if not check_mode and not kc26:
correct_execution_index(
kc, realm, existing_executions, new_exec)
else:
Expand All @@ -578,7 +578,7 @@ def create_or_update_executions(kc, config, check_mode, new_flow=False, realm='m

# Keycloak creates new executions with the lowest
# priority
if not new_flow:
if not new_flow and not kc26:
# If the main flow is new, we don't have to
# push executions up.
correct_execution_index(
Expand Down
Loading