diff --git a/roles/gitlab/tasks/main.yml b/roles/gitlab/tasks/main.yml
index 88d8be8482400fbbd512b6cb1c18c24a6570b189..62bfcbcd0d794888673ff62ed77bfac0dffb395a 100644
--- a/roles/gitlab/tasks/main.yml
+++ b/roles/gitlab/tasks/main.yml
@@ -20,9 +20,10 @@
 - name: Add Gitlab configuration
   template:
     src: gitlab.rb.j2
-    dest: /etc/letsencrypt/rfc2136.ini
+    dest: /etc/gitlab/gitlab.rb
     mode: 0600
     owner: root
+    group: root
 
 - name: Reconfigure Gitlab
   command: gitlab-ctl reconfigure