Add OS Discovery

This commit is contained in:
madereddy
2023-12-11 14:14:11 -05:00
parent ccaac87277
commit a2305448b9
+8
View File
@@ -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 }}"