host_info.yml 336 B
---
- hosts: "{{ host_list }}"
remote_user: "{{ my_user }}"
tasks:
- name: ANSIBLE | host Info
debug:
msg: "{{ ansible_host }} {{ ansible_fqdn }} - {{ ansible_distribution }} {{ ansible_distribution_release }} v{{ ansible_distribution_version }} / {{ ansible_processor[2] }} / {{ ansible_devices.keys() | max }}"