register a variable in one playbook and use in a different playbook

Hi,

is there a way to register a variable in one playbook and then use it somewhere else in a different playbook?

If you register that variable with set_fact you should be able to access it with hostvars