diff --git a/roles/kubespray-defaults/tasks/main.yaml b/roles/kubespray-defaults/tasks/main.yaml
index 0de87f150968b8887cff85804ebb771cc3faeb65..0a9d987a7f0838d431e6220bcff8681c2007674e 100644
--- a/roles/kubespray-defaults/tasks/main.yaml
+++ b/roles/kubespray-defaults/tasks/main.yaml
@@ -3,7 +3,7 @@
   # do not run gather facts when bootstrap-os in roles
   when: >
         ansible_play_role_names |
-        intersect(['bootstrap-os', 'kubernetes-sigs.kubespray.bootstrap-os']) |
+        intersect(['bootstrap-os', 'kubernetes_sigs.kubespray.bootstrap-os']) |
         length == 0
   tags:
     - always