--- - include_tasks: Windows.yaml when: ansible_os_family == 'Windows' - include_tasks: Ubuntu.yaml when: ansible_distribution == 'Ubuntu'