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
c48b1d56
Commit
c48b1d56
authored
4 years ago
by
Benjamin Graillot
Committed by
Benjamin Graillot
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[home] add playbook to deploy home creation script
parent
30ae9773
No related branches found
No related tags found
1 merge request
!125
Home
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plays/home.yml
+11
-0
11 additions, 0 deletions
plays/home.yml
roles/home/templates/home/config.py.j2
+3
-3
3 additions, 3 deletions
roles/home/templates/home/config.py.j2
with
14 additions
and
3 deletions
plays/home.yml
0 → 100755
+
11
−
0
View file @
c48b1d56
#!/usr/bin/env ansible-playbook
---
-
hosts
:
cameron.adm.crans.org
vars
:
home
:
ldap_server
:
ldap://re2o-ldap.adm.crans.org
ldap_password
:
"
{{
vault_ldap_home_password
}}"
binddn
:
cn=home,ou=service-users,dc=crans,dc=org
rootdn
:
cn=Utilisateurs,dc=crans,dc=org
roles
:
-
home
This diff is collapsed.
Click to expand it.
roles/home/templates/home/config.py.j2
+
3
−
3
View file @
c48b1d56
{{ ansible_header | comment }}
ldap_server = '
ldap://re2o-ldap.adm.crans.org
'
binddn = '
cn=
home
,ou=service-users,dc=crans,dc=org
'
ldap_server = '
{{ home.ldap_server }}
'
binddn = '
{{
home
.binddn }}
'
password = '{{ home.ldap_password }}'
rootdn = '
cn=Utilisateurs,dc=crans,dc=org
'
rootdn = '
{{ home.rootdn }}
'
home_dir = '/pool/home'
mail_dir = '/pool/mail'
home_quota = 'zfs set userquota@{user}=30G pool/home'
...
...
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