diff --git a/playbooks/check.yaml b/playbooks/check.yaml new file mode 100644 index 0000000..1b019e7 --- /dev/null +++ b/playbooks/check.yaml @@ -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'] }})"