Add base role and playbook, molecule configuration

This commit is contained in:
Guido Grazioli
2021-12-14 11:26:42 +01:00
parent b23c54409f
commit 187473447d
35 changed files with 3658 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
---
# tasks file for keycloak
- name: Prerequisites
include_tasks: prereqs.yml
tags:
- prereqs
- include_tasks: tasks/install.yml
- name: create Keycloak admin user
command:
args:
argv:
- "{{ keycloak_jboss_home }}/bin/add-user-keycloak.sh"
- -rmaster
- -u{{ keycloak_admin_user }}
- -p{{ keycloak_admin_password }}
creates: "{{ keycloak_config_dir }}/keycloak-add-user.json"
become: yes
- include_tasks: tasks/systemd.yml