Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.3 KiB

  1. external_url 'http://projects.lilik.it'
  2. gitlab_rails['gitlab_default_projects_features_issues'] = true
  3. gitlab_rails['gitlab_default_projects_features_wiki'] = true
  4. gitlab_rails['gitlab_default_projects_features_snippets'] = true
  5. gitlab_rails['ldap_enabled'] = true
  6. gitlab_rails['ldap_servers'] = YAML.load <<-EOS
  7. main:
  8. label: 'LDAP'
  9. host: 'ldap2.lilik.it'
  10. port: 389
  11. uid: 'mail'
  12. method: 'plain'
  13. base: 'vd=lilik.it,o=hosting,dc=lilik,dc=it'
  14. user_filter: '(memberOf=cn=projects,o=Group,dc=lilik,dc=it)'
  15. attributes:
  16. username: ['uid', 'userid', 'sAMAccountName']
  17. email: ['mail', 'email', 'userPrincipalName']
  18. name: 'cn'
  19. first_name: 'givenName'
  20. last_name: 'sn'
  21. EOS
  22. gitlab_rails['gitlab_shell_ssh_port'] = 8082
  23. gitlab_rails['smtp_enable'] = true
  24. gitlab_rails['smtp_address'] = "mail.lilik.it"
  25. gitlab_rails['smtp_port'] = 25
  26. unicorn['worker_processes'] = 1 # default is 2
  27. gitlab_workhorse['listen_network'] = "tcp"
  28. gitlab_workhorse['listen_addr'] = "localhost:8181"
  29. gitlab_rails['db_adapter'] = "postgresql"
  30. gitlab_rails['db_encoding'] = 'utf8'
  31. gitlab_rails['db_username'] = "gitlab-psql"
  32. gitlab_rails['db_host'] = nil
  33. gitlab_rails['db_socket'] = "/var/run/postgresql/"
  34. gitlab_rails['db_port'] = nil
  35. postgresql['enable'] = false
  36. nginx['enable'] = false