Skip to content
Snippets Groups Projects
Commit c48b1d56 authored by Benjamin Graillot's avatar Benjamin Graillot Committed by Benjamin Graillot
Browse files

[home] add playbook to deploy home creation script

parent 30ae9773
No related branches found
No related tags found
1 merge request!125Home
#!/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
{{ 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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment