Skip to content
Snippets Groups Projects
Verified Commit 63d4164b authored by ynerant's avatar ynerant Committed by ynerant
Browse files

Cransible Gitlab configuration


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 6d35dcd7
No related branches found
No related tags found
1 merge request!163Gitlab
---
glob_gitlab:
url: 'https://gitlab.crans.org'
time_zone: 'Europe/Paris'
email: 'gitlab@crans.org'
email_display_name: 'Crans GitLab'
ldap_label: 'Crans'
ldap_host: '172.16.10.90' # Thot
ldap_port: 389
ldap_uid: 'uid'
ldap_bind_dn: 'cn=gitlab,ou=service-users,dc=crans,dc=org'
ldap_base: 'cn=Utilisateurs,dc=crans,dc=org'
ldap_user_filter: '(&(!(shadowExpire=0))(uid=*))'
cas_name: 'cas3'
cas_label: 'CAS Cr@ns'
cas_url: 'https://cas.crans.org'
......@@ -17,3 +17,6 @@ loc_certbot:
mail: root@crans.org
certname: adm.crans.org
domains: "*.adm.crans.org"
loc_gitlab:
ldap_bind_password: "{{ vault_gitlab_ldap_password }}"
......@@ -10,5 +10,8 @@
- hosts: git
vars:
certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'
gitlab: '{{ glob_gitlab | default({}) | combine(loc_gitlab | default({})) }}'
roles:
- certbot
- gitlab
- nginx
---
- name: Add Gitlab configuration
template:
src: gitlab.rb.j2
dest: /etc/letsencrypt/rfc2136.ini
mode: 0600
owner: root
This diff is collapsed.
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