ansible/print_facts.yml

14 lines
310 B
YAML

---
- hosts:
- pikvm
gather_facts: true
become: false
tasks:
- name: System details
debug: "msg={{ item }}"
with_items:
- "{{ ansible_distribution }}"
- "{{ ansible_architecture }}"
- "{{ ansible_distribution_version }}"
- "{{ ansible_distribution_major_version }}"