2022-02-08 15:28:17 +00:00
|
|
|
argument_specs:
|
|
|
|
main:
|
|
|
|
options:
|
|
|
|
keycloak_host:
|
|
|
|
# line 3 of keycloak_realm/defaults/main.yml
|
|
|
|
default: "localhost"
|
2022-04-07 12:07:28 +00:00
|
|
|
description: "Hostname for rest calls"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "str"
|
2022-04-07 12:07:28 +00:00
|
|
|
keycloak_context:
|
|
|
|
# line 5 of keycloak_realm/defaults/main.yml
|
|
|
|
default: "/auth"
|
|
|
|
description: "Context path for rest calls"
|
|
|
|
type: "str"
|
2022-02-08 15:28:17 +00:00
|
|
|
keycloak_http_port:
|
|
|
|
# line 4 of keycloak_realm/defaults/main.yml
|
|
|
|
default: 8080
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "HTTP port"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "int"
|
|
|
|
keycloak_https_port:
|
|
|
|
# line 5 of keycloak_realm/defaults/main.yml
|
|
|
|
default: 8443
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "HTTPS port"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "int"
|
2022-02-08 15:46:18 +00:00
|
|
|
keycloak_management_http_port:
|
|
|
|
# line 6 of keycloak_realm/defaults/main.yml
|
|
|
|
default: 9990
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "Management port"
|
2022-02-08 15:46:18 +00:00
|
|
|
type: "int"
|
2022-02-08 15:28:17 +00:00
|
|
|
keycloak_admin_user:
|
2022-02-08 15:46:18 +00:00
|
|
|
# line 10 of keycloak_realm/defaults/main.yml
|
2022-02-08 15:28:17 +00:00
|
|
|
default: "admin"
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "Administration console user account"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "str"
|
|
|
|
keycloak_auth_realm:
|
2022-02-08 15:46:18 +00:00
|
|
|
# line 11 of keycloak_realm/defaults/main.yml
|
2022-02-08 15:28:17 +00:00
|
|
|
default: "master"
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "Name of the main authentication realm"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "str"
|
|
|
|
keycloak_auth_client:
|
2022-02-08 15:46:18 +00:00
|
|
|
# line 12 of keycloak_realm/defaults/main.yml
|
2022-02-08 15:28:17 +00:00
|
|
|
default: "admin-cli"
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "Authentication client for configuration REST calls"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "str"
|
|
|
|
keycloak_client_default_roles:
|
|
|
|
# line 36 of keycloak_realm/defaults/main.yml
|
|
|
|
default: "[]"
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "List of roles to configure as client default"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "list"
|
|
|
|
keycloak_client_public:
|
|
|
|
# line 39 of keycloak_realm/defaults/main.yml
|
|
|
|
default: true
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "Configure a public realm client"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "bool"
|
|
|
|
keycloak_client_web_origins:
|
|
|
|
# line 42 of keycloak_realm/defaults/main.yml
|
|
|
|
default: "+"
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "Web origins for realm client"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "str"
|
|
|
|
keycloak_client_users:
|
|
|
|
# line 49 of keycloak_realm/defaults/main.yml
|
|
|
|
default: "[]"
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "List of users to configure in the realm client"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "list"
|
2022-02-08 15:46:18 +00:00
|
|
|
keycloak_user_federation:
|
|
|
|
# line 52 of keycloak_realm/defaults/main.yml
|
|
|
|
default: "[]"
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "List of user federations to configure in the realm"
|
2022-02-08 15:46:18 +00:00
|
|
|
type: "list"
|
2022-02-08 15:28:17 +00:00
|
|
|
keycloak_admin_password:
|
|
|
|
# line 5 of keycloak_realm/vars/main.yml
|
|
|
|
required: true
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "Password for the administration console user account"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "str"
|
|
|
|
keycloak_realm:
|
|
|
|
# line 8 of keycloak_realm/vars/main.yml
|
|
|
|
required: true
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "Name of the realm to be configured"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "str"
|
|
|
|
keycloak_clients:
|
|
|
|
# line 11 of keycloak_realm/vars/main.yml
|
2022-02-09 10:19:49 +00:00
|
|
|
default: "[]"
|
|
|
|
description: "List of client declarations for the realm"
|
|
|
|
type: "list"
|
2022-02-08 15:28:17 +00:00
|
|
|
keycloak_url:
|
|
|
|
# line 14 of keycloak_realm/vars/main.yml
|
|
|
|
default: "http://{{ keycloak_host }}:{{ keycloak_http_port }}"
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "URL for configuration rest calls"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "str"
|
|
|
|
keycloak_management_url:
|
|
|
|
# line 15 of keycloak_realm/vars/main.yml
|
|
|
|
default: "http://{{ keycloak_host }}:{{ keycloak_management_http_port }}"
|
2022-02-09 10:19:49 +00:00
|
|
|
description: "URL for management console rest calls"
|
2022-02-08 15:28:17 +00:00
|
|
|
type: "str"
|
2022-09-19 14:02:55 +00:00
|
|
|
downstream:
|
|
|
|
options:
|
|
|
|
sso_version:
|
|
|
|
default: "7.5.0"
|
|
|
|
description: "Red Hat Single Sign-On version"
|
|
|
|
type: "str"
|
|
|
|
sso_dest:
|
|
|
|
default: "/opt/sso"
|
|
|
|
description: "Root installation directory"
|
|
|
|
type: "str"
|
|
|
|
sso_installdir:
|
2022-09-19 20:41:18 +00:00
|
|
|
default: "{{ sso_dest }}/rh-sso-{{ sso_version.split('.')[0] }}.{{ sso_version.split('.')[1] }}"
|
2022-09-19 14:02:55 +00:00
|
|
|
description: "Installation path for Red Hat SSO"
|
|
|
|
type: "str"
|
|
|
|
sso_apply_patches:
|
|
|
|
default: False
|
|
|
|
description: "Install Red Hat SSO most recent cumulative patch"
|
|
|
|
type: "bool"
|
|
|
|
sso_enable:
|
|
|
|
default: True
|
|
|
|
description: "Enable Red Hat Single Sign-on installation"
|
|
|
|
type: "str"
|