initialising playbook var with other variable's value: variable undefined

Hi,

I want to test a playbook that creates a local CoreOS cluster running on KVM: https://github.com/misho-kr/coreos-cluster-kvm

Invoking create.yaml playbook

ansible-playbook create.yml -i hosts

The playbook defines variable vm_image_name_compressed and supposedly passes it down to role disk_partition.
Variable {{ saved_vm_image_name.stdout }} returns a string - tested.

vars: vm_image_name_compressed: "{{ saved_vm_image_name.stdout }}" roles: -role: disk_partition

The playbook run yields the following error message:

The error was: 'vm_image_name_compressed' is undefined The error appears to have been in './roles/disk_partition/tasks/upload.yml': line 12, column 3

Variables initialized with constant values, e.g. dummy_var: “dummy_val” work as expected - variable dummy_var is visible from within the disk_partition role.

Could someone explain why the variable is not initialized with other variable’s value?

I am using Ansible 2.3.1.

Thanks,
Gin