---
# tasks file for {{ cookiecutter.role_name }}
- name: Run tasks on current environment
  include: "{{ '{{' }} ansible_os_family {{ '}}' }}.yml"

---
# tasks file for {{ cookiecutter.role_name }}
- name: Run specified tasks on current platform 
  include: "{{ '{{' }} ansible_os_family {{ '}}' }}.yml"

Fix name of include task a bit to understand it easily.
Fix name of include task a bit to understand it easily.
