import_playbook - Passing variables - error

I have a playbook called: testing_vars_pass.yml

It imports another playbook called: testing_vars_call.yml

The playbook testing_vars_call.yml expects a variable called: myVar

Below is the contents of each playbook …

$ cat testing_vars_pass.yml

I am facing same issue , Any leads ???

Regards

I am facing same issue , Any leads ???

Could you be more specific? What exactly is the issue you're seeing? Playbooks? Commands you're using? Output?

In any case, this is definitely a better question for ansible-project@ list

The post below had lots of errors, including self referring variables, and lack if understanding variables scope https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#scoping-variables

V/r,
James Cassell