ansible/get_distribution.yml

13 lines
273 B
YAML
Raw Normal View History

2022-10-18 12:05:56 +02:00
---
- 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 }}"