--- - name: Demonstrate targeted debug output in Ansible hosts: localhost gather_facts: false vars: cloud_region: "us-east-1" db_host: "db01.example.com" tasks: - name: Show critical variable values ansible.builtin.debug: msg: "Region: {{ cloud_region }} | DB host: {{ db_host }}" - name: Simulate another task for context ansible.builtin.debug: msg: "Deploying application in {{ cloud_region }} with database {{ db_host }}"