diff --git a/get_distribution.yml b/get_distribution.yml new file mode 100644 index 0000000..f3fef20 --- /dev/null +++ b/get_distribution.yml @@ -0,0 +1,12 @@ +--- +- hosts: + - pikvm + gather_facts: true + become: false + tasks: + - name: System details + debug: "msg={{ item }}" + with_items: + - "{{ ansible_distribution }}" + - "{{ ansible_distribution_version }}" + - "{{ ansible_distribution_major_version }}"