Commit 67b40fbc authored by nono's avatar nono 💻
Browse files

Update README, Added first task ( users & group )

parent f87f76de
......@@ -3,29 +3,34 @@ SSO-LQDN
Rôle permettant d'installer un serveur de SSO basé sur Keycloack
Ce rôle se charge d'installer keycloack. À terme, il se chargera aussi de faire la mise à jour.
Il ne se charge pas d'ajouter des utilisateurices, ni de configurer les intégrations avec les services tiers.
Requirements
------------
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
Tout est inclus dans ce rôle. Il est fortement inspiré par les rôles suivants :
- https://github.com/em0lar/ansible-role-keycloak-postgres
Role Variables
--------------
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
TODO
Dependencies
------------
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
Tout est inclus dans ce rôle.
Example Playbook
----------------
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
- hosts: lqdn-sso
roles:
- { role: username.rolename, x: 42 }
- sso-lqdn
License
-------
......@@ -35,4 +40,4 @@ BSD
Author Information
------------------
An optional section for the role authors to include contact information, or a website (HTML is not allowed).
Fait chez LQDN ( LQDN.fr ) par nono ( np@laquadrature.net )
---
- name : Creation of the Keycloak group
group :
name : "{{ keycloak_service_group }}"
system: true
become : true
- name: Creation of the Keycloak user
user:
name: "{{ keycloak_service_user }}"
group: "{{ keycloak_service_group }}"
home: "{{ keycloak_base_path }}"
create_home: true
system: true
become: true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment