2017-11-29 21:44:35 +00:00
|
|
|
# Copyright (c) 2017 Eike Frost <ei@kefro.st>
|
|
|
|
#
|
|
|
|
# This file is part of Ansible
|
|
|
|
#
|
|
|
|
# Ansible is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# Ansible is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
|
|
class ModuleDocFragment(object):
|
|
|
|
|
|
|
|
# Standard documentation fragment
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
options:
|
|
|
|
auth_keycloak_url:
|
|
|
|
description:
|
|
|
|
- URL to the Keycloak instance.
|
|
|
|
required: true
|
New module: keycloak_clienttemplate (#33419)
* keycloak_clienttemplate
* BOTMETA maintainership for identity/keycloak namespace
* fix superfluous blank line
* catch ValueError when trying to decode JSON
* further documentation for protocol mappers and some checks
* whitespace fixes, YAML fixes
* remove state: dump, update argument_spec and documentation with suboptions
* add documentation for realm option
* document aliases for auth_keycloak_url, auth_username, and auth_password (i.e. url, username, and password)
* remove bearer_only, consent_required, standard_flow_enabled, implicit_flow_enabled, direct_access_grants_enabled, service_accounts_enabled, public_client, and frontchannel_logout from module options.
2018-01-31 13:12:53 +00:00
|
|
|
aliases:
|
|
|
|
- url
|
2017-11-29 21:44:35 +00:00
|
|
|
|
|
|
|
auth_client_id:
|
|
|
|
description:
|
|
|
|
- OpenID Connect I(client_id) to authenticate to the API with.
|
2018-05-30 07:32:33 +00:00
|
|
|
default: admin-cli
|
2017-11-29 21:44:35 +00:00
|
|
|
required: true
|
|
|
|
|
|
|
|
auth_realm:
|
|
|
|
description:
|
|
|
|
- Keycloak realm name to authenticate to for API access.
|
|
|
|
required: true
|
|
|
|
|
|
|
|
auth_client_secret:
|
|
|
|
description:
|
|
|
|
- Client Secret to use in conjunction with I(auth_client_id) (if required).
|
|
|
|
|
|
|
|
auth_username:
|
|
|
|
description:
|
|
|
|
- Username to authenticate for API access with.
|
|
|
|
required: true
|
New module: keycloak_clienttemplate (#33419)
* keycloak_clienttemplate
* BOTMETA maintainership for identity/keycloak namespace
* fix superfluous blank line
* catch ValueError when trying to decode JSON
* further documentation for protocol mappers and some checks
* whitespace fixes, YAML fixes
* remove state: dump, update argument_spec and documentation with suboptions
* add documentation for realm option
* document aliases for auth_keycloak_url, auth_username, and auth_password (i.e. url, username, and password)
* remove bearer_only, consent_required, standard_flow_enabled, implicit_flow_enabled, direct_access_grants_enabled, service_accounts_enabled, public_client, and frontchannel_logout from module options.
2018-01-31 13:12:53 +00:00
|
|
|
aliases:
|
|
|
|
- username
|
2017-11-29 21:44:35 +00:00
|
|
|
|
|
|
|
auth_password:
|
|
|
|
description:
|
|
|
|
- Password to authenticate for API access with.
|
|
|
|
required: true
|
New module: keycloak_clienttemplate (#33419)
* keycloak_clienttemplate
* BOTMETA maintainership for identity/keycloak namespace
* fix superfluous blank line
* catch ValueError when trying to decode JSON
* further documentation for protocol mappers and some checks
* whitespace fixes, YAML fixes
* remove state: dump, update argument_spec and documentation with suboptions
* add documentation for realm option
* document aliases for auth_keycloak_url, auth_username, and auth_password (i.e. url, username, and password)
* remove bearer_only, consent_required, standard_flow_enabled, implicit_flow_enabled, direct_access_grants_enabled, service_accounts_enabled, public_client, and frontchannel_logout from module options.
2018-01-31 13:12:53 +00:00
|
|
|
aliases:
|
|
|
|
- password
|
2017-11-29 21:44:35 +00:00
|
|
|
|
|
|
|
validate_certs:
|
|
|
|
description:
|
|
|
|
- Verify TLS certificates (do not disable this in production).
|
|
|
|
default: True
|
2018-05-30 07:32:33 +00:00
|
|
|
type: bool
|
2017-11-29 21:44:35 +00:00
|
|
|
'''
|