Better Structure the Repo and Some Other Enhancements #15
1 changed files with 7 additions and 0 deletions
7
playbooks/check.yaml
Normal file
7
playbooks/check.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
- name: Host information
|
||||||
|
hosts: all
|
||||||
|
tasks:
|
||||||
|
- name: Print OS distribution and version
|
||||||
|
ansible.builtin.debug:
|
||||||
|
msg: "{{ ansible_facts['distribution'] }} {{ ansible_facts['distribution_version'] }} ({{ ansible_facts['distribution_release'] }})"
|
Loading…
Reference in a new issue