--- # Quick Facts Display # Purpose: Show key system information without saving # Usage: ansible-playbook playbooks/quick-facts.yml -k --limit hostname - name: Quick system facts check hosts: all gather_facts: true tasks: - name: Display system summary ansible.builtin.debug: msg: - "==========================================" - "{{ inventory_hostname | upper }}" - "==========================================" - "IP Address: {{ ansible_host }}" - "OS: {{ ansible_distribution }} {{ ansible_distribution_version }}" - "Kernel: {{ ansible_kernel }}" - "Arch: {{ ansible_architecture }}" - "CPU: {{ ansible_processor[2] | default(ansible_processor[0]) }}" - "Cores: {{ ansible_processor_vcpus }}" - "Memory: {{ (ansible_memtotal_mb / 1024) | round(1) }} GB" - "Disk: {{ ansible_devices.keys() | list }}" - "Hostname: {{ ansible_hostname }}" - "FQDN: {{ ansible_fqdn }}" - name: Check for key paths ansible.builtin.stat: path: "{{ item }}" loop: - /mnt/appdata - /dev/dri - /usr/bin/docker register: path_checks - name: Display path status ansible.builtin.debug: msg: "{{ item.stat.path }}: {{ '✅ exists' if item.stat.exists else '❌ missing' }}" loop: "{{ path_checks.results }}"