playbook to fetch ansible distribution
parent
4542c0e1c0
commit
c746b668d3
|
@ -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 }}"
|
Loading…
Reference in New Issue