This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
lilik_playbook
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
patch gitlab source to add domain to email ldap field
python3
Andrea Cimbalo
7 years ago
parent
168b923661
commit
d249faab50
1 changed files
with
10 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+10
-0
roles/gitlab/tasks/main.yaml
+ 10
- 0
roles/gitlab/tasks/main.yaml
View File
@ -25,3 +25,13 @@
src
:
"gitlab.yml.j2"
dest
:
"/etc/gitlab/gitlab.yml"
notify
:
restart gitlab
-
name
:
patch gitlab source to add domain to email ldap field
blockinfile:
block
:
|
if key.to_s == "email"
value = value.nil? ? value
:
value + "@lilik.it"
end
dest
:
/usr/share/gitlab/lib/gitlab/ldap/auth_hash.rb
insertbefore
:
"return super unless value"
notify
:
restart gitlab
Write
Preview
Loading…
Cancel
Save