Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Ansible
Commits
5564f48e
Verified
Commit
5564f48e
authored
5 years ago
by
me5na7qbjqbrp
Browse files
Options
Downloads
Patches
Plain Diff
For the CI
parent
8b7f6cba
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Initial LDAP client role
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ldap.yml
+2
-3
2 additions, 3 deletions
ldap.yml
roles/ldap-client/tasks/main.yml
+1
-1
1 addition, 1 deletion
roles/ldap-client/tasks/main.yml
with
3 additions
and
4 deletions
ldap.yml
+
2
−
3
View file @
5564f48e
...
...
@@ -4,7 +4,7 @@
vars
:
# LDAP binding
ldap_base
:
'
dc=crans,dc=org'
ldap_master_ipv4
:
'
10.128.0.11'
#TODO
ldap_master_ipv4
:
'
10.128.0.11'
#
TODO
ldap_master_uri
:
"
ldap://{{
ldap_master_ipv4
}}"
ldap_user_tree
:
"
cn=Utilisateurs,{{
ldap_base
}}"
ldap_nslcd_bind_dn
:
"
cn=nslcd,ou=service-users,{{
ldap_base
}}"
...
...
@@ -14,10 +14,9 @@
intranet_url
:
'
https://intranet.crans.org/'
# Users in that group will be able to `sudo`
sudo_group
:
'
sudoldap'
#TODO
sudo_group
:
'
sudoldap'
#
TODO
# SSH keys for root account to use when LDAP is broken
ssh_pub_keys
:
"
{{
vault_ssh_pub_keys
}}"
roles
:
-
ldap-client
This diff is collapsed.
Click to expand it.
roles/ldap-client/tasks/main.yml
+
1
−
1
View file @
5564f48e
...
...
@@ -21,4 +21,4 @@
user
:
root
key
:
"
{{
ssh_pub_keys
}}"
state
:
present
exclusive
:
T
rue
exclusive
:
t
rue
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment