August 2019
Beginner
608 pages
16h 7m
English
The GitLab URL or endpoint will be the address of the load balancer. The value of this address can be extracted from our dynamic Ansible inventory command, /usr/local/bin/terraform.py. In the Ansible scripts, we can refer to a specific host variable:
external_url 'http://{{ hostvars[groups['lb'][0]]['inventory_hostname'] }}'
Sidekiq uses GitLab Shell, which needs to authenticate to the frontend servers as follows:
gitlab_rails['internal_api_url'] = "http://{{ hostvars[groups['frontend'][0]]['inventory_hostname'] }}:8080"
This server should have the application role:
roles ['application_role']
We specifically want to enable Sidekiq on this machine:
# Enable sidekiqsidekiq['enable'] = true
Disable components ...
Read now
Unlock full access