blob: 4c39a63f266751eef504b7bd1fd6bb86d1381cbb (
plain)
1
2
3
4
5
6
|
- name: talk to all hosts just so we can learn about them
hosts: all
tasks:
- name: Classify hosts depending on their OS distribution
group_by:
key: os_{{ ansible_facts['distribution'] }}
|