mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-11-25 22:46:28 +00:00
🔧 fix LDAP and Domain name
Signed-off-by: nasirhm <nasirhussainm14@gmail.com>
This commit is contained in:
parent
ec22cb4773
commit
83283fcf4e
@ -3,8 +3,14 @@
|
|||||||
- name: Install and Provision Gitlab
|
- name: Install and Provision Gitlab
|
||||||
hosts: gitlabservers
|
hosts: gitlabservers
|
||||||
become: true
|
become: true
|
||||||
|
vars_file:
|
||||||
|
- vars/gitlab.yml
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
|
- name: Check if ansible cannot be run here
|
||||||
|
stat:
|
||||||
|
path: /etc/no-ansible
|
||||||
|
register: no_ansible
|
||||||
- name: Verify if we can run ansible
|
- name: Verify if we can run ansible
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
@ -18,8 +24,6 @@
|
|||||||
roles:
|
roles:
|
||||||
- role: geerlingguy.gitlab
|
- role: geerlingguy.gitlab
|
||||||
state: present
|
state: present
|
||||||
vars_files:
|
|
||||||
- vars/gitlab.yml
|
|
||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- name: Touching run file that ansible has ran here
|
- name: Touching run file that ansible has ran here
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
gitlab_domain: src.rockylinux.org
|
gitlab_domain: git.rockylinux.org
|
||||||
gitlab_external_url: "https://{gitlab_domain}/"
|
gitlab_external_url: "https://{gitlab_domain}/"
|
||||||
|
|
||||||
# Location where all the git repositories will be stored.
|
# Location where all the git repositories will be stored.
|
||||||
@ -15,15 +15,15 @@ gitlab_ssl_certificate_key: "/etc/gitlab/ssl/{{ gitlab_domain }}.key"
|
|||||||
gitlab_create_self_signed_cert: "true"
|
gitlab_create_self_signed_cert: "true"
|
||||||
gitlab_self_signed_cert_subj: "/C=US/ST=Missouri/L=Saint Louis/O=IT/CN={{ gitlab_domain }}"
|
gitlab_self_signed_cert_subj: "/C=US/ST=Missouri/L=Saint Louis/O=IT/CN={{ gitlab_domain }}"
|
||||||
|
|
||||||
# LDAP Configuration for the future
|
# LDAP Configuration
|
||||||
gitlab_ldap_enabled: "false"
|
gitlab_ldap_enabled: "true"
|
||||||
gitlab_ldap_host: "example.com"
|
gitlab_ldap_host: "rockylinux.org"
|
||||||
gitlab_ldap_port: "389"
|
gitlab_ldap_port: "389"
|
||||||
gitlab_ldap_uid: "sAMAccountName"
|
gitlab_ldap_uid: "uid"
|
||||||
gitlab_ldap_method: "plain"
|
gitlab_ldap_method: "start_tls"
|
||||||
gitlab_ldap_bind_dn: "CN=Username,CN=Users,DC=example,DC=com"
|
gitlab_ldap_bind_dn: "uid=binder,cn=sysaccounts,cn=etc,dc=rockylinux,dc=org"
|
||||||
gitlab_ldap_password: "password"
|
gitlab_ldap_password: "ThisIsNotThePassword!"
|
||||||
gitlab_ldap_base: "DC=example,DC=com"
|
gitlab_ldap_base: "cn=users,cn=accounts,dc=rockylinux,dc=org"
|
||||||
|
|
||||||
gitlab_time_zone: "UTC"
|
gitlab_time_zone: "UTC"
|
||||||
|
|
||||||
@ -33,16 +33,16 @@ gitlab_download_validate_certs: true
|
|||||||
# Email and SMTP configuration (For the future)
|
# Email and SMTP configuration (For the future)
|
||||||
# Email configuration.
|
# Email configuration.
|
||||||
gitlab_email_enabled: "false"
|
gitlab_email_enabled: "false"
|
||||||
gitlab_email_from: "gitlab@example.com"
|
gitlab_email_from: "gitlab@rockylinux.org"
|
||||||
gitlab_email_display_name: "Gitlab"
|
gitlab_email_display_name: "Gitlab"
|
||||||
gitlab_email_reply_to: "gitlab@example.com"
|
gitlab_email_reply_to: "gitlab@rockylinux.org"
|
||||||
# SMTP configuration
|
# SMTP configuration
|
||||||
gitlab_smtp_enable: "false"
|
gitlab_smtp_enable: "false"
|
||||||
gitlab_smtp_address: "smtp.server"
|
gitlab_smtp_address: "smtp.server"
|
||||||
gitlab_smtp_port: "465"
|
gitlab_smtp_port: "465"
|
||||||
gitlab_smtp_user_name: "smtp user"
|
gitlab_smtp_user_name: "smtp user"
|
||||||
gitlab_smtp_password: "smtp password"
|
gitlab_smtp_password: "smtp password"
|
||||||
gitlab_smtp_domain: "example.com"
|
gitlab_smtp_domain: "rockylinux.org"
|
||||||
gitlab_smtp_authentication: "login"
|
gitlab_smtp_authentication: "login"
|
||||||
gitlab_smtp_enable_starttls_auto: "true"
|
gitlab_smtp_enable_starttls_auto: "true"
|
||||||
gitlab_smtp_tls: "false"
|
gitlab_smtp_tls: "false"
|
||||||
|
Loading…
Reference in New Issue
Block a user