--- - when: ansible_os_family != "Windows" include_tasks: 'unix.yaml' - when: ansible_os_family == "Windows" include_tasks: 'Windows.yaml'