Ipsilon: configure SSSd
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
f4684a1f07
commit
1ca3aff8f1
3 changed files with 31 additions and 2 deletions
5
roles/ipsilon/handlers/main.yml
Normal file
5
roles/ipsilon/handlers/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
- name: restart sssd
|
||||
service:
|
||||
name: sssd
|
||||
state: restarted
|
||||
|
|
@ -196,6 +196,8 @@
|
|||
tags:
|
||||
- ipsilon
|
||||
- config
|
||||
notify:
|
||||
- restart apache
|
||||
|
||||
# - name: Create Ipsilon config symlink
|
||||
# file:
|
||||
|
@ -305,3 +307,25 @@
|
|||
setype: httpd_sys_content_t
|
||||
tags:
|
||||
- ipsilon
|
||||
|
||||
- name: configure SSSd to forward additional attributes (1/2)
|
||||
replace:
|
||||
path: /etc/sssd/sssd.conf
|
||||
regexp: ^ldap_user_extra_attrs = [\w,\s]+$
|
||||
replace: ldap_user_extra_attrs = mail, street, locality, st, postalCode, telephoneNumber, givenname, sn, fasTimeZone, fasLocale, fasIRCNick, fasGPGKeyId, fasCreationTime, fasStatusNote, fasRHBZEmail, fasGitHubUsername, fasGitLabUsername, fasWebsiteURL, fasIsPrivate
|
||||
tags:
|
||||
- ipsilon
|
||||
- config
|
||||
notify:
|
||||
- restart sssd
|
||||
|
||||
- name: configure SSSd to forward additional attributes (2/2)
|
||||
replace:
|
||||
path: /etc/sssd/sssd.conf
|
||||
regexp: ^user_attributes = [\w,\s+]+$
|
||||
replace: user_attributes = +mail, +street, +locality, +st, +postalCode, +telephoneNumber, +givenname, +sn, +fasTimeZone, +fasLocale, +fasIRCNick, +fasGPGKeyId, +fasCreationTime, +fasStatusNote, +fasRHBZEmail, +fasGitHubUsername, +fasGitLabUsername, +fasWebsiteURL, +fasIsPrivate
|
||||
tags:
|
||||
- ipsilon
|
||||
- config
|
||||
notify:
|
||||
- restart sssd
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#RewriteEngine on
|
||||
#RewriteRule /.well-known/openid-configuration /openidc/.well-known/openid-configuration [PT]
|
||||
#Alias /ui /usr/share/ipsilon/themes/Fedora
|
||||
Alias /ui /usr/share/ipsilon/ui
|
||||
#Alias /ui /usr/share/ipsilon/ui
|
||||
Alias /ui /usr/share/ipsilon/themes/Fedora
|
||||
Alias /.well-known /var/lib/ipsilon/idp/public/well-known
|
||||
Alias /cache /var/cache/ipsilon
|
||||
Redirect /.well-known/webfinger /webfinger
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue