--- - include_tasks: "{{ ansible_os_family | lower }}/{{ task }}.yml" with_list: - repo loop_control: loop_var: task