Add OS Discovery
This commit is contained in:
@@ -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 }}"
|
||||
Reference in New Issue
Block a user