After running Ansible, note that the current play does not contain settings for SMTP. To set up SMTP, in
/etc/gitlab/gitlab.rb, find the following configuration settings, uncomment the lines and set their values to the ones below:
gitlab_rails['smtp_enable'] = truegitlab_rails['smtp_address'] = "mail.tjhsst.edu"gitlab_rails['smtp_port'] = 22
After saving these settings to
gitlab.rb, apply these settings using
Manual setup can be found on GitLab's website here. However, the only commands you need to run successively are as follows:
sudo apt-get updatesudo apt-get install -y curl openssh-server ca-certificatessudo apt-get install -y postfixcurl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bashsudo EXTERNAL_URL="http://gitlab.tjhsst.edu" apt-get install gitlab-ee
After running these commands, head to
gitlab.rb in the ansible repository under
sudo mv gitlab.rb gitlab-OLD.rb
Copy the Ansible version of
After initial setup, log in using the Standard option as
root, with the default GitLab password. Immediately change this to a more secure password in line with CSL standards.
On initial login, note how there were three possible options: LDAP, Standard, and Sign-Up. As we do not use the Standard and Sign-Up options, it is necessary to remove them by following the steps below:
Head to the Admin Options, an icon depicting a wrench links here
On the left sidebar, find the Settings option and open the page.
Locate the respective check boxes under the Sign-up and Sign-in drop-downs.