Cransible Gitlab configuration
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
6d35dcd7e8
commit
63d4164ba0
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
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
|
mail: root@crans.org
|
||||||
certname: adm.crans.org
|
certname: adm.crans.org
|
||||||
domains: "*.adm.crans.org"
|
domains: "*.adm.crans.org"
|
||||||
|
|
||||||
|
loc_gitlab:
|
||||||
|
ldap_bind_password: "{{ vault_gitlab_ldap_password }}"
|
||||||
|
|
|
@ -10,5 +10,8 @@
|
||||||
- hosts: git
|
- hosts: git
|
||||||
vars:
|
vars:
|
||||||
certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'
|
certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'
|
||||||
|
gitlab: '{{ glob_gitlab | default({}) | combine(loc_gitlab | default({})) }}'
|
||||||
roles:
|
roles:
|
||||||
- certbot
|
- certbot
|
||||||
|
- gitlab
|
||||||
|
- nginx
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
- name: Add Gitlab configuration
|
||||||
|
template:
|
||||||
|
src: gitlab.rb.j2
|
||||||
|
dest: /etc/letsencrypt/rfc2136.ini
|
||||||
|
mode: 0600
|
||||||
|
owner: root
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue