diff --git a/tasks/main.yml b/tasks/main.yml
index 921816d02cc9749b4b1d5ae4a3796c9874ffdb7c..ff8dd02e558d163cb570f564aed570615c1480ee 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -5,27 +5,29 @@
 ---
 # file: roles/gitlab-runner/tasks/main.yml
 
-- name: "GitLab Runner Role"
-  set_fact: role_gitlab_runner_started=true
-  tags: 'always'
+- name: GitLab Runner Role
+  set_fact:
+    role_gitlab_runner_started: yes
+  tags:
+    - always
 
 - block:
 
-  - name: "Apt Key"
+  - name: Apt Key
     apt_key:
-      url: 'https://packages.gitlab.com/runner/gitlab-runner/gpgkey'
+      url: https://packages.gitlab.com/runner/gitlab-runner/gpgkey
       state: present
 
-  - name: "Apt Repository"
+  - name: Apt Repository
     apt_repository:
-      repo: 'deb https://packages.gitlab.com/runner/gitlab-runner/ubuntu/ {{ ansible_distribution_release }} main'
-      state: 'present'
-      mode: '644'
+      repo: deb https://packages.gitlab.com/runner/gitlab-runner/ubuntu/ {{ ansible_distribution_release }} main
+      state: present
+      mode: 644
 
-  - name: "Install GitLab Runner"
+  - name: Install GitLab Runner
     apt:
-      pkg: 'gitlab-runner'
-      state: 'present'
+      pkg: gitlab-runner
+      state: present
       update_cache: yes
 
-  when: '"gitlab-runner" not in excluded_roles'
+  when: not excluded_roles or "gitlab-runner" not in excluded_roles