diff --git a/tasks/main.yml b/tasks/main.yml
index 290076bacdf00d682cde1ce868662aae3c83819d..3460ad451b75fc3827bd8028dbdb4f58f4072c7e 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -20,7 +20,7 @@
 
     - name: Apt Repository
       apt_repository:
-        repo: deb https://packages.gitlab.com/runner/gitlab-runner/ubuntu/ {{ ansible_distribution_release }} main
+        repo: 'deb https://packages.gitlab.com/runner/gitlab-runner/ubuntu/ {{ ansible_distribution_release }} main'
         state: present
         mode: 0644