diff --git a/playbooks/os_family_discovery.yml b/playbooks/os_family_discovery.yml new file mode 100644 index 0000000..cb7f367 --- /dev/null +++ b/playbooks/os_family_discovery.yml @@ -0,0 +1,8 @@ +--- +- name: Discover OS Family of Hosts + hosts: all + gather_facts: yes + tasks: + - name: Display OS Family + ansible.builtin.debug: + msg: "The OS family for {{ inventory_hostname }} is {{ ansible_os_family }}"