---
- hosts: localhost
gather_facts: false
tasks:
- debug:
msg: "{{ lookup('vars', 'inventory_hostname') }}"