configpolicy/dyngroups.yml

7 lines
129 B
YAML

- hosts: all
gather_facts: true
tasks:
- name: group hosts by distribution
group_by:
key={{ ansible_os_family }}