--- - name: Install Docker on chosen VM hosts: all become: true gather_facts: true vars: node: "{{ target_node | default('n/a') }}" vmid: "{{ target_vmid | default('n/a') }}" tasks: - name: Show execution target ansible.builtin.debug: msg: "Installing Docker on VM {{ inventory_hostname }} (node={{ node }}, vmid={{ vmid }})"