Browse Source

gitlab: add gitlab_host instead of hardcoded lab.{{ domain }}

keep-around/b96ddf0469a643f2b3ff139c4232c26072541349
Loïc Dachary 8 months ago
parent
commit
b96ddf0469
Signed by: dachary GPG Key ID: 992D23B392F9E4F2
  1. 7
      inventory/group_vars/gitlab/gitlab.yml
  2. 2
      playbooks/gitlab/gitlab-playbook.yml
  3. 2
      playbooks/gitlab/roles/gitlab/tasks/gitlab.yml

7
inventory/group_vars/gitlab/gitlab.yml

@ -2,6 +2,13 @@
#
#######################################
#
# Hostname of the GitLab instance
#
#
gitlab_host: "lab.{{ domain }}"
#
#######################################
#
# Password of the GitLab administrator user "root"
#
gitlab_password: Ind+GriazAj2

2
playbooks/gitlab/gitlab-playbook.yml

@ -68,6 +68,6 @@
- role: monitor_http_vhost
http_vhost_https: true
http_vhost_name: Lab
http_vhost_fqdn: "lab.{{ domain }}"
http_vhost_fqdn: "{{ gitlab_host }}"
http_vhost_uri: "/users/sign_in"
http_vhost_string: "GitLab"

2
playbooks/gitlab/roles/gitlab/tasks/gitlab.yml

@ -61,7 +61,7 @@
SMTP_AUTHENTICATION: ':plain'
GITLAB_SIGNUP: 'true'
GITLAB_PORT: "443"
GITLAB_HOST: "lab.{{ domain }}"
GITLAB_HOST: "{{ gitlab_host }}"
GITLAB_HTTPS: "true"
OAUTH_BLOCK_AUTO_CREATED_USERS: 'false'
PUMA_WORKERS: '1'

Loading…
Cancel
Save