---
- hosts: all gather_facts: yes tasks: - group_by: key: "{{ ansible_os_family | lower }}"
- hosts: freebsd sudo: yes gather_facts: no vars: os_type: freebsd roles: - multi-os-role
- hosts: debian sudo: yes gather_facts: no vars: os_type: debian roles: - multi-os-role---- include: "{{ os_type }}.yml"
# other tasks that are common between OS'