Fix GitLab Ansible Role
The Ansible role
GitHub - geerlingguy/ansible-role-gitlab: Ansible Role - GitLab
is not suitable for the current version of GitLab 18.1. To fix the issue, modify
the file roles/external/geerlingguy.gitlab/templates/gitlab.rb.j2 like this:
# The directory where Git repositories will be stored.
# git_data_dirs({"default" => {"path" => "{{ gitlab_git_data_dir }}"} })
gitaly['configuration'] = {
storage: [
{
name: 'default',
path: '{{ gitlab_git_data_dir }}',
},
],
}
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.