diff --git a/roles/bootstrap-os/tasks/main.yml b/roles/bootstrap-os/tasks/main.yml
index d1e5f7371dc5c85f75b943277b98673febcae3e4..b8f676fae31468ca0800e426b84d1126e89096bd 100644
--- a/roles/bootstrap-os/tasks/main.yml
+++ b/roles/bootstrap-os/tasks/main.yml
@@ -24,10 +24,12 @@
       - vars/
       skip: True
   - name: Include tasks
-    include_tasks: "{{ item }}"
+    include_tasks: "{{ included_tasks_file }}"
     with_first_found:
     - <<: *search
       paths: []
+    loop_control:
+      loop_var: included_tasks_file
 
 
 - name: Create remote_tmp for it is used by another module