https://github.com/bird-house/ansible-keycloak-playbook

Ansible Playbook to deploy a Keycloak service

https://github.com/bird-house/ansible-keycloak-playbook

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.3%) to scientific vocabulary

Keywords

ansible-playbook demo keycloak
Last synced: 10 months ago · JSON representation

Repository

Ansible Playbook to deploy a Keycloak service

Basic Info
  • Host: GitHub
  • Owner: bird-house
  • Language: Makefile
  • Default Branch: master
  • Size: 15.6 KB
Statistics
  • Stars: 2
  • Watchers: 5
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Archived
Topics
ansible-playbook demo keycloak
Created over 6 years ago · Last pushed over 6 years ago
Metadata Files
Readme

README.rst

=========================
Keycloak Ansible Playbook
=========================

.. admonition:: Description

  Use Ansible_ to deploy a Keycloak_ service.

.. warning::

  This playbook is under development.

This playbook is based on https://github.com/pmarek-stfc/Ansible-Keycloak-Playbook

Introduction
============

Keycloak Ansible Playbook can provision a remote server to run Keycloak_.

Prepare
=======

To test this Ansible script you can use Vagrant_.
On macOS install Vagrant and Ansible::

  $ brew cask install virtualbox
  $ brew cask install vagrant
  $ brew install ansible

You need to fetch the depending external roles::

  $ ansible-galaxy install -p roles -r requirements.yml
  OR
  $ make roles

Run playbook with Vagrant
=========================

Initial setup::

  $ vagrant up

Provision with Ansible again::

  $ vagrant provision

Login with SSH::

  $ vagrant ssh

Remove VMs::

  $ vagrant destroy -f

Run playbook manually
=====================

Run playbook to deploy to localhost::

  $ ansible-playbook -i inventory.yml playbook.yml
  OR
  $ make play

Demo Instance
=============

This playbook installs a keycloak service which is available at:
http://localhost:8080/auth/

You can log-in to the administrator console with ``username=admin``, ``password=admin``:
http://localhost:8080/auth/admin

It set-ups a demo realm with a demo user:

* client-id: demo
* client-secret: c083d72c-a262-40b1-ad51-326f6977d74b
* OAuth2 workflow: `client credentials`_

.. _Keycloak: https://www.keycloak.org/
.. _Ansible: https://www.ansible.com/
.. _Vagrant: https://www.vagrantup.com/
.. _`client credentials`: https://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html#backend-application-flow

Owner

  • Name: bird-house
  • Login: bird-house
  • Kind: organization

Making Web Processing Services easy

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • cehbrecht (1)
Top Labels
Issue Labels
Pull Request Labels
enhancement (1)