{"id":22845573,"url":"https://github.com/idealista/keycloak_role","last_synced_at":"2026-04-20T19:31:38.875Z","repository":{"id":38454255,"uuid":"321348161","full_name":"idealista/keycloak_role","owner":"idealista","description":"ansible role for keycloak","archived":false,"fork":false,"pushed_at":"2022-11-03T12:40:15.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-10-07T02:54:48.219Z","etag":null,"topics":["ansible-role","debian","keycloak"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idealista.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-14T12:58:20.000Z","updated_at":"2023-04-26T16:34:48.000Z","dependencies_parsed_at":"2022-08-20T06:41:02.324Z","dependency_job_id":null,"html_url":"https://github.com/idealista/keycloak_role","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/idealista/keycloak_role","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fkeycloak_role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fkeycloak_role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fkeycloak_role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fkeycloak_role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idealista","download_url":"https://codeload.github.com/idealista/keycloak_role/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fkeycloak_role/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32062275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible-role","debian","keycloak"],"created_at":"2024-12-13T03:17:40.812Z","updated_at":"2026-04-20T19:31:38.853Z","avatar_url":"https://github.com/idealista.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keycloak Ansible role\n![Logo](logo.gif)\n\n[![Build Status](https://travis-ci.com/idealista/keycloak_role.png)](https://travis-ci.com/idealista/keycloak_role)\n[![Ansible Galaxy](https://img.shields.io/badge/galaxy-idealista.keycloak_role-B62682.svg)](https://galaxy.ansible.com/idealista/keycloak_role)\n\n\n\nThis ansible role installs [Keycloak](https://www.keycloak.org/) in a Debian environment. It has been tested for the following Debian versions:\n\n* Buster\n\nThis role has been generated using the [cookiecutter](https://github.com/cookiecutter/cookiecutter) tool, you can generate a similar role that fits your needs using the this [cookiecutter template](https://github.com/idealista/cookiecutter-ansible-role).\n\n- [Getting Started](#getting-started)\n\t- [Prerequisities](#prerequisities)\n\t- [Installing](#installing)\n- [Usage](#usage)\n- [Testing](#testing)\n- [Built With](#built-with)\n- [Versioning](#versioning)\n- [Authors](#authors)\n- [License](#license)\n- [Contributing](#contributing)\n\n## Getting Started\nThese instructions will get you a copy of the role for your Ansible playbook. Once launched, it will install Keycloak in a Debian system.\n\n### Prerequisities\n\nAnsible 2.9.9 version installed. Inventory destination should be a Debian environment with Java installed. You can install it with this [ansible role](https://github.com/idealista/java_role).\n\nMolecule 3.x.x version installed.\n\nFor testing purposes, [Molecule](https://molecule.readthedocs.io/) with [Docker](https://www.docker.com/) as driver and [Goss](https://github.com/aelsabbahy/goss) as verifier.\n\n### Installing\n\nCreate or add to your roles dependency file (e.g requirements.yml):\n\n```\n- src: idealista.keycloak_role\n  version: 1.0.0\n  name: keycloak_role\n```\n\nInstall the role with ansible-galaxy command:\n\n```\nansible-galaxy install -p roles -r requirements.yml -f\n```\n\nUse in a playbook:\n\n```\n---\n- hosts: someserver\n  roles:\n    - role: keycloak_role\n```\n\n## Usage\n\nLook to the [defaults](defaults/main.yml) properties file to see the possible configuration properties, it is very likely that you will not need to override any variables.\n\nThis role only supports one datasource for now. In our test, we used postgresql.\n\n`confluence_jdbc_origin` allow jdbc driver installation from maven or direct download. Valid values `url` or `maven`\nTo add a datasource, set `keycloak_jdbc_install: false` to `true`, and fill the required varaibles.\n\n## Testing\n\n### Install dependencies\n\n```sh\n$ pipenv sync\n```\n\nFor more information read the [pipenv docs](ipenv-fork.readthedocs.io/en/latest/).\n\n### Testing\n\n```sh\n$ pipenv run molecule test \n```\n\nFor testing purposes, postgresql is used as an external database. You can install it with this [ansible role](https://github.com/idealista/postgresql_role).\n\n## Built With\n\n![Ansible](https://img.shields.io/badge/ansible-2.9.9-green.svg)\n![Molecule](https://img.shields.io/badge/molecule-3.0.4-green.svg)\n![Goss](https://img.shields.io/badge/goss-0.3.14-green.svg)\n\n## Versioning\n\nFor the versions available, see the [tags on this repository](https://github.com/idealista/keycloak_role/tags).\n\nAdditionaly you can see what change in each version in the [CHANGELOG.md](CHANGELOG.md) file.\n\n## Authors\n\n* **Idealista** - *Work with* - [idealista](https://github.com/idealista)\n\nSee also the list of [contributors](https://github.com/idealista/keycloak_role/contributors) who participated in this project.\n\n## License\n\n![Apache 2.0 License](https://img.shields.io/hexpm/l/plug.svg)\n\nThis project is licensed under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](.github/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fkeycloak_role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidealista%2Fkeycloak_role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fkeycloak_role/lists"}